SqlSmoObject.IAlienObject.GetPropertyType 方法
Gets the type of the specified property.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 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
)
private:
virtual Type^ GetPropertyType(
String^ propertyName
) sealed = IAlienObject::GetPropertyType
private abstract GetPropertyType :
propertyName:string -> Type
private override GetPropertyType :
propertyName:string -> Type
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- propertyName
类型:System.String
The name of the property to get the type of.
返回值
类型:System.Type
A Type which represents the type of the specified property.
实现
IAlienObject.GetPropertyType(String)