Share via


IAlienObject.GetPropertyValue Método

Obtiene el valor de la propiedad especificada.

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

Sintaxis

'Declaración
Private Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
'Uso
Dim instance As SqlSmoObject
Dim propertyName As String
Dim propertyType As Type
Dim returnValue As Object

returnValue = CType(instance, IAlienObject).GetPropertyValue(propertyName, _
    propertyType)
Object IAlienObject.GetPropertyValue(
    string propertyName,
    Type propertyType
)
private:
virtual Object^ GetPropertyValue(
    String^ propertyName, 
    Type^ propertyType
) sealed = IAlienObject::GetPropertyValue
private abstract GetPropertyValue : 
        propertyName:string * 
        propertyType:Type -> Object 
private override GetPropertyValue : 
        propertyName:string * 
        propertyType:Type -> Object 
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.

Parámetros

Valor devuelto

Tipo: System. . :: . .Object
Objeto Object que representa el valor de la propiedad.

Implementa

IAlienObject. . :: . .GetPropertyValue(String, Type)