'Declaration
Public Overloads Shared Function Connect( _ ByVal connectionDescriptor As String, _ ByVal authenticationType As LoginAuthenticationType, _ ByVal userID As String, _ ByVal password As SecureString, _ ByVal expectedCertificate As X509Certificate2 _ ) As Scheduler
public static Scheduler Connect( string connectionDescriptor, LoginAuthenticationType authenticationType, string userID, SecureString password, X509Certificate2 expectedCertificate )
public: static Scheduler^ Connect( String^ connectionDescriptor, LoginAuthenticationType authenticationType, String^ userID, SecureString^ password, X509Certificate2^ expectedCertificate )
Parameters
- connectionDescriptor
- The name or address of the adTempus server to connect to. Optionally include the instance name and port number, if necessary. Use BuildConnectionDescriptor to generate the connectionDescriptor in the correct syntax if the adTempus server is a named instance or is using a non-standard port. You can use BuildConnectionDescriptor to construct the descriptor in the correct format.
- authenticationType
- The type of authentication to use.
- userID
- The user ID to use for authentication.
- password
- The password to use for authentication.
- expectedCertificate
- The expected server security certificate. If the certificate returned by the target server does not match, the connection fails
Return Value
A Scheduler object representing a session with the adTempus server