Compartilhar via


ServiceManagementGroup Constructor (String)

Initializes a new instance of the ServiceManagementGroup class by specifying the name of the Service Manager server to connect to.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.ServiceManager (in microsoft.enterprisemanagement.servicemanager.dll)

Usage

'Usage
Dim serverName As String

Dim instance As New ServiceManagementGroup(serverName)

Syntax

'Declaration
Public Sub New ( _
    serverName As String _
)
public ServiceManagementGroup (
    string serverName
)
public:
ServiceManagementGroup (
    String^ serverName
)
public ServiceManagementGroup (
    String serverName
)
public function ServiceManagementGroup (
    serverName : String
)

Parameters

  • serverName
    The name of the Service Manager server to connect to. You can use localhost for the server name if you are connecting to the local computer.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ServiceManagementGroup Class
ServiceManagementGroup Members
Microsoft.EnterpriseManagement Namespace