Udostępnij przez


WmiConnectionInfo.MachineName Property

Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed.

Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in microsoft.sqlserver.sqlwmimanagement.dll)

Syntax

'Deklaracja
Public Property MachineName As String
public string MachineName { get; set; }
public:
property String^ MachineName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_MachineName ()

/** @property */
public void set_MachineName (String value)
public function get MachineName () : String

public function set MachineName (value : String)

Property Value

A String value that specifies the name of the computer on which WMI is installed.

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.