WmiSmoObject.GetPropertyObject(PropertyCollection, DataRow, Object) Metodo

Definizione

Ottiene dalla raccolta specificata la proprietà con la posizione e il valore specificati.

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

Parametri

properties
PropertyCollection

Oggetto PropertyCollection che specifica la raccolta di proprietà che contiene la proprietà.

dr
DataRow

Valore dell'oggetto di sistema DataRow che specifica la posizione della proprietà nella raccolta di proprietà.

propValue
Object

Valore Object che specifica il valore della proprietà.

Restituisce

Oggetto ProtocolProperty che specifica la proprietà di protocollo.

Esempio

Gestione di servizi e di impostazioni di rete con il provider WMI

Si applica a