SqlSmoObject.IAlienObject.GetPropertyType メソッド
指定したプロパティの種類を取得します。
名前空間: 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
種類を取得するプロパティの名前です。
戻り値
型: System.Type
指定したプロパティの型を表す Type です。
実装
IAlienObject.GetPropertyType(String)