Connection constructor

Creates a Connection object.

Syntax

Connection()
Connection(string domainController)

Parameters

Specify the following parameter when needed:

Parameter Description

domainController

The domain controller of the Active Directory domain to which you wish to connect in order to get information about the audit installation.

Discussion

The Connection object constructor is overloaded. Use the constructor without parameters to create a connection in the current domain. Use the second version of the constructor if you want to specify the Active Directory domain of the connection in order to administer an audit installation on an Active Directory domain other than the one to which your workstation is joined.