Freigeben über


WmiSmoObject.GetPropertyObject-Methode

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

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

Parameter

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

Rückgabewert

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

Beispiele

Verwalten von Diensten und Netzwerkeinstellungen durch die Nutzung von WMI-Anbieter

Siehe auch

Verweis

WmiSmoObject Klasse

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

WMI and SQL Server

Herstellen einer Verbindung zum SQL Server-Datenbankmodul