Share via


WmiSmoObject.GetPropertyObject(PropertyCollection, DataRow, Object) Méthode

Définition

Obtient la propriété de la collection spécifiée avec la position et la valeur spécifiées.

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

Paramètres

properties
PropertyCollection

Objet PropertyCollection qui spécifie la collection de propriétés qui contient la propriété.

dr
DataRow

Valeur de l'objet système DataRow qui spécifie la position de la propriété dans la collection de propriétés.

propValue
Object

Valeur Object qui spécifie la valeur de propriété.

Retours

Objet ProtocolProperty qui spécifie la propriété de protocole.

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

S’applique à