다음을 통해 공유


MachineName 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
Public Property MachineName As String
    Get
    Set
‘사용 방법
Dim instance As WmiConnectionInfo
Dim value As String

value = instance.MachineName

instance.MachineName = value
public string MachineName { get; set; }
public:
property String^ MachineName {
    String^ get ();
    void set (String^ value);
}
member MachineName : string with get, set
function get MachineName () : String
function set MachineName (value : String)

속성 값

형식: System. . :: . .String
A String value that specifies the name of the computer on which WMI is installed.