MachineName プロパティ
Windows Management Instrumentation (WMI) がインストールされたコンピュータの名前を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ: Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement.dll)
構文
'宣言
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
WMI がインストールされたコンピュータの名前を示す String 値です。