SqlSmoObject.IAlienObject.GetPropertyType Method

Gets the type of the specified property.

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


Private Function GetPropertyType ( _
    propertyName As String _
) As Type Implements IAlienObject.GetPropertyType
Dim instance As SqlSmoObject
Dim propertyName As String
Dim returnValue As Type

returnValue = CType(instance, IAlienObject).GetPropertyType(propertyName)
Type IAlienObject.GetPropertyType(
    string propertyName
virtual Type^ GetPropertyType(
    String^ propertyName
) sealed = IAlienObject::GetPropertyType
private abstract GetPropertyType : 
        propertyName:string -> Type 
private override GetPropertyType : 
        propertyName:string -> Type 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.


  • propertyName
    Type: System.String
    The name of the property to get the type of.

Return Value

Type: System.Type
A Type which represents the type of the specified property.