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)
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- 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.