Freigeben über


IAlienObject.GetPropertyType-Methode

Ruft den Typ der angegebenen Eigenschaft ab.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private Function GetPropertyType ( _
    propertyName As String _
) As Type Implements IAlienObject.GetPropertyType
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

Rückgabewert

Typ: System. . :: . .Type
Ein Type-Objekt, das den Typ der angegebenen Eigenschaft darstellt.

Implementiert

IAlienObject. . :: . .GetPropertyType(String)