次の方法で共有


ServerAlias.Parent プロパティ

ServerAlias オブジェクトの親である ManagedComputer オブジェクトを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ:  Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement.dll)

構文

'宣言
Public Property Parent As ManagedComputer 
    Get 
    Set
'使用
Dim instance As ServerAlias 
Dim value As ManagedComputer 

value = instance.Parent

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

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
ServerAlias オブジェクトの親を示す ManagedComputer オブジェクトです。

使用例

WMI プロバイダーを使用したサービスの管理とネットワーク設定

関連項目

参照

ServerAlias クラス

Microsoft.SqlServer.Management.Smo.Wmi 名前空間

その他の技術情報

WMI and SQL Server

SQL Server データベース エンジンへの接続