WmiSmoObject.GetPropertyObject 메서드
Gets the property from the specified collection with the specified position and value.
네임스페이스: 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
매개 변수
- properties
유형: Microsoft.SqlServer.Management.Smo.PropertyCollection
A PropertyCollection object that specifies the property collection that contains the property.
- dr
유형: System.Data.DataRow
A DataRow system object value that specifies the position of the property in the property collection.
- propValue
유형: System.Object
An Object value that specifies the property value.
반환 값
유형: Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object that specifies the protocol property.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스