Partager via


Méthode WmiSmoObject.GetPropertyObject

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Protected Overridable Function GetPropertyObject ( _
    properties As PropertyCollection, _
    dr As DataRow, _
    propValue As Object _
) As ProtocolProperty
'Utilisation
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

Paramètres

  • dr
    Type : System.Data.DataRow
    A DataRow system object value that specifies the position of the property in the property collection.

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo.Wmi.ProtocolProperty
A ProtocolProperty object that specifies the protocol property.

Exemples

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

Voir aussi

Référence

WmiSmoObject Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Wmi

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server