WmiSmoObject コンストラクター (WmiCollectionBase, String)

指定した名前とコレクションの基本クラスで WmiSmoObject クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Protected Friend Sub New ( _
    parentColl As WmiCollectionBase, _
    name As String _
)
'使用
Dim parentColl As WmiCollectionBase 
Dim name As String 

Dim instance As New WmiSmoObject(parentColl, _
    name)
protected internal WmiSmoObject(
    WmiCollectionBase parentColl,
    string name
)
protected public:
WmiSmoObject(
    WmiCollectionBase^ parentColl, 
    String^ name
)
new : 
        parentColl:WmiCollectionBase * 
        name:string -> WmiSmoObject
function WmiSmoObject(
    parentColl : WmiCollectionBase, 
    name : String
)

パラメーター

説明

このコンストラクターは、この型の状態を初期化するために、派生したクラス コンストラクターによって呼び出されます。

使用例

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

関連項目

参照

WmiSmoObject クラス

WmiSmoObject オーバーロード

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

その他の技術情報

WMI and SQL Server

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