Share via


Méthode IAlienObject.GetPropertyType

Obtient le type 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 GetPropertyType ( _
    propertyName As String _
) As Type Implements IAlienObject.GetPropertyType
'Utilisation
Dim instance As SqlSmoObject
Dim propertyName As String
Dim returnValue As Type

returnValue = CType(instance, IAlienObject).GetPropertyType(propertyName)
Type IAlienObject.GetPropertyType(
    string propertyName
)
private:
virtual Type^ GetPropertyType(
    String^ propertyName
) sealed = IAlienObject::GetPropertyType
private abstract GetPropertyType : 
        propertyName:string -> Type 
private override GetPropertyType : 
        propertyName:string -> Type 
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. . :: . .Type
Type qui représente le type de la propriété spécifiée.

Implémente

IAlienObject. . :: . .GetPropertyType(String)