EnterpriseManagementGroup.Connect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Connects to the Service Manager server where all of the Service Manager data is stored.
Overloads
Connect(EnterpriseManagementConnectionSettings) |
Returns a new instance of the EnterpriseManagementGroup class by specifying the connection settings that are used to connect to the Service Manager server. |
Connect(String) |
Returns a new instance of the EnterpriseManagementGroup class by specifying the computer name of the Service Manager server to connect to. |
Connect(EnterpriseManagementConnectionSettings)
Returns a new instance of the EnterpriseManagementGroup class by specifying the connection settings that are used to connect to the Service Manager server.
public:
static Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ Connect(Microsoft::EnterpriseManagement::EnterpriseManagementConnectionSettings ^ connectionSettings);
public static Microsoft.EnterpriseManagement.EnterpriseManagementGroup Connect (Microsoft.EnterpriseManagement.EnterpriseManagementConnectionSettings connectionSettings);
static member Connect : Microsoft.EnterpriseManagement.EnterpriseManagementConnectionSettings -> Microsoft.EnterpriseManagement.EnterpriseManagementGroup
Public Shared Function Connect (connectionSettings As EnterpriseManagementConnectionSettings) As EnterpriseManagementGroup
Parameters
- connectionSettings
- EnterpriseManagementConnectionSettings
Defines the Service Manager server to connect to together with additional connection settings.
Returns
The connected management group object.
Applies to
Connect(String)
Returns a new instance of the EnterpriseManagementGroup class by specifying the computer name of the Service Manager server to connect to.
public:
static Microsoft::EnterpriseManagement::EnterpriseManagementGroup ^ Connect(System::String ^ serverName);
public static Microsoft.EnterpriseManagement.EnterpriseManagementGroup Connect (string serverName);
static member Connect : string -> Microsoft.EnterpriseManagement.EnterpriseManagementGroup
Public Shared Function Connect (serverName As String) As EnterpriseManagementGroup
Parameters
- serverName
- String
The name of the Service Manager server to connect to. You can use the value ‘localhost’ for the server name if you are connecting to the local computer.
Returns
The connected management group object.