Condividi tramite


Metodo SqlSmoObject.IAlienObject.GetPropertyValue

Gets the value of the specified property.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Private Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

  • propertyType
    Tipo: System.Type
    The type of the property.

Valore restituito

Tipo: System.Object
A Object which represents the value of the property.

Implementa

IAlienObject.GetPropertyValue(String, Type)

Vedere anche

Riferimento

SqlSmoObject Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo