adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / Connect Method / Connect() Method


In This Topic
    Connect() Method
    In This Topic
    Connects to the adTempus server on the local machine using the identity of the caller.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Overloads Shared Function Connect() As Scheduler
    [NotNull()]
    public static Scheduler Connect()
    [NotNull()]
    public:
    static Scheduler^ Connect(); 

    Return Value

    A Scheduler object representing a session with the adTempus server
    Exceptions
    ExceptionDescription
    Occurs if the caller does not have permission to connect to the adTempus server.

    Thrown if the adTempus service cannot be contacted. This could be because:

    • The specified server name, address, instance name, or port is invalid.
    • The adTempus service is not running on the target computer.
    • The target computer is unreachable due to a network problem.
    • A firewall or other security is blocking the connection.
    Remarks
    The user is authenticated using Windows authentication (the identity of the calling process). There must be a login defined for the user that is configured to use integrated Windows security.
    See Also