Dela via


EnterpriseManagementConnectionSettings.ServerName Property

Gets or sets the name of the Service Manager server. Use localhost if the Service Manager server is your local computer.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As EnterpriseManagementConnectionSettings
Dim value As String

value = instance.ServerName

instance.ServerName = value

Syntax

'Declaration
Public Property ServerName As String
public string ServerName { get; set; }
public:
property String^ ServerName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ServerName ()

/** @property */
public void set_ServerName (String value)
public function get ServerName () : String

public function set ServerName (value : String)

Property Value

Type: String

The name of the Service Manager server.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementConnectionSettings Class
EnterpriseManagementConnectionSettings Members
Microsoft.EnterpriseManagement Namespace