Share via


WmiSmoObject.GetPropertyObject(PropertyCollection, DataRow, Object) Method

Definition

Gets the property from the specified collection with the specified position and value.

protected:
 virtual Microsoft::SqlServer::Management::Smo::Wmi::ProtocolProperty ^ GetPropertyObject(Microsoft::SqlServer::Management::Smo::PropertyCollection ^ properties, System::Data::DataRow ^ dr, System::Object ^ propValue);
protected virtual Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty GetPropertyObject (Microsoft.SqlServer.Management.Smo.PropertyCollection properties, System.Data.DataRow dr, object propValue);
abstract member GetPropertyObject : Microsoft.SqlServer.Management.Smo.PropertyCollection * System.Data.DataRow * obj -> Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
override this.GetPropertyObject : Microsoft.SqlServer.Management.Smo.PropertyCollection * System.Data.DataRow * obj -> Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
Protected Overridable Function GetPropertyObject (properties As PropertyCollection, dr As DataRow, propValue As Object) As ProtocolProperty

Parameters

properties
PropertyCollection

A PropertyCollection object that specifies the property collection that contains the property.

dr
DataRow

A DataRow system object value that specifies the position of the property in the property collection.

propValue
Object

An Object value that specifies the property value.

Returns

A ProtocolProperty object that specifies the protocol property.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to