ManagedComputer.GetSmoObject メソッド

指定した URN (Uniform Resource Name) アドレスの WmiSmoObject オブジェクトを取得します。

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

構文

'宣言
Public Function GetSmoObject ( _
    urn As Urn _
) As WmiSmoObject
'使用
Dim instance As ManagedComputer 
Dim urn As Urn 
Dim returnValue As WmiSmoObject 

returnValue = instance.GetSmoObject(urn)
public WmiSmoObject GetSmoObject(
    Urn urn
)
public:
WmiSmoObject^ GetSmoObject(
    Urn^ urn
)
member GetSmoObject : 
        urn:Urn -> WmiSmoObject
public function GetSmoObject(
    urn : Urn
) : WmiSmoObject

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
指定した URN アドレスのオブジェクトを表す WmiSmoObject オブジェクトです。

使用例

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

関連項目

参照

ManagedComputer クラス

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

その他の技術情報

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