Partager via


Méthode SqlSmoObject.IAlienObject.GetPropertyValue

Gets the value of the specified property.

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

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

Valeur de retour

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

Implémente

IAlienObject.GetPropertyValue(String, Type)

Voir aussi

Référence

SqlSmoObject Classe

Espace de noms Microsoft.SqlServer.Management.Smo