adTempus API
ArcanaDevelopment.adTempus.Client Namespace / JobVariable Class / TrySet Method
The new ArcanaDevelopment.adTempus.Shared.IJobVariable.VariableType


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
    The new ArcanaDevelopment.adTempus.Shared.IJobVariable.VariableType
    value
    Remarks
    TrySet attempts to convert the provided string value to the type specified by varType. If this succeeds, the ArcanaDevelopment.adTempus.Shared.IJobVariable.VariableType and ArcanaDevelopment.adTempus.Shared.IJobVariable.Value are updated and the method returns True. Otherwise the variable is not updated and the method returns false.
    See Also