adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Script Class / ValidateScript Method
Optional CredentialProfile representing the identity to validate the script under. If no profile is provided, the client identity is used. The caller must have Use permission for the profile.


In This Topic
    ValidateScript Method (Script)
    In This Topic
    Validates the script by compiling it and checking for errors.
    Syntax
    'Declaration
     
    
    Public Function ValidateScript( _
       ByVal credentials As CredentialProfile _
    ) As MessageCollection

    Parameters

    credentials
    Optional CredentialProfile representing the identity to validate the script under. If no profile is provided, the client identity is used. The caller must have Use permission for the profile.

    Return Value

    A collection of messages containing any validation warning or errors. If validation was successful, an informational message will be included.
    See Also