Compartir a través de


WmiSmoObject.GetPropertyObject Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado:  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxis

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

Parámetros

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

Valor devuelto

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

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

WmiSmoObject Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

WMI and SQL Server

Conectar al Motor de base de datos de SQL Server