WmiSmoObject.GetPropertyObject(PropertyCollection, DataRow, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A ProtocolProperty object that specifies the protocol property.
Examples
Managing Services and Network Settings by Using WMI Provider