WmiSmoObject.GetPropertyObject メソッド

指定した位置にある指定した値のプロパティを、指定したコレクションから取得します。

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

構文

'宣言
Protected Overridable Function GetPropertyObject ( _
    properties As PropertyCollection, _
    dr As DataRow, _
    propValue As Object _
) As ProtocolProperty
'使用
Dim properties As PropertyCollection 
Dim dr As DataRow 
Dim propValue As Object 
Dim returnValue As ProtocolProperty 

returnValue = Me.GetPropertyObject(properties, _
    dr, propValue)
protected virtual ProtocolProperty GetPropertyObject(
    PropertyCollection properties,
    DataRow dr,
    Object propValue
)
protected:
virtual ProtocolProperty^ GetPropertyObject(
    PropertyCollection^ properties, 
    DataRow^ dr, 
    Object^ propValue
)
abstract GetPropertyObject : 
        properties:PropertyCollection * 
        dr:DataRow * 
        propValue:Object -> ProtocolProperty  
override GetPropertyObject : 
        properties:PropertyCollection * 
        dr:DataRow * 
        propValue:Object -> ProtocolProperty
protected function GetPropertyObject(
    properties : PropertyCollection, 
    dr : DataRow, 
    propValue : Object
) : ProtocolProperty

パラメーター

  • dr
    型: System.Data.DataRow
    プロパティ コレクション内のプロパティの位置を示す DataRow システム オブジェクトの値です。

戻り値

型: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
プロトコルのプロパティを示す ProtocolProperty オブジェクトです。

使用例

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

関連項目

参照

WmiSmoObject クラス

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

その他の技術情報

WMI and SQL Server

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