Méthode IAlienObject.GetPropertyValue

Obtient la valeur de la propriété spécifiée.

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

Syntaxe

'Déclaration
Private Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Paramètres

Valeur de retour

Type : System. . :: . .Object
Object qui représente la valeur de la propriété.

Implémente

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