adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobVariable Class / TrySet Method

In This Topic
    TrySet Method (JobVariable)
    In This Topic
    Tries to set the variable to the specified type and value.
    Syntax
    'Declaration
     
    
    Public Function TrySet( _
       ByVal varType As JobVariableType, _
       ByVal value As String _
    ) As Boolean

    Parameters

    varType
    value
    Remarks
    TrySet attempts to convert the provided string value to the type specified by varType. If this succeeds, the VariableType and Value are updated and the method returns True. Otherwise the variable is not updated and the method returns false.
    See Also