SqlSmoObject.IAlienObject.GetPropertyType-Methode
Gets the type of the specified property.
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
- propertyName
Typ: System.String
The name of the property to get the type of.
Rückgabewert
Typ: System.Type
A Type which represents the type of the specified property.
Implementiert
IAlienObject.GetPropertyType(String)