次の方法で共有


IAlienObject.GetPropertyType メソッド

指定したプロパティの種類を取得します。

名前空間:  Microsoft.SqlServer.Management.Sdk.Sfc
アセンブリ:  Microsoft.SqlServer.Management.Sdk.Sfc (Microsoft.SqlServer.Management.Sdk.Sfc.dll)

構文

'宣言
Function GetPropertyType ( _
    propertyName As String _
) As Type
'使用
Dim instance As IAlienObject 
Dim propertyName As String 
Dim returnValue As Type 

returnValue = instance.GetPropertyType(propertyName)
Type GetPropertyType(
    string propertyName
)
Type^ GetPropertyType(
    String^ propertyName
)
abstract GetPropertyType : 
        propertyName:string -> Type
function GetPropertyType(
    propertyName : String
) : Type

パラメーター

  • propertyName
    型: System.String
    種類を取得するプロパティの名前です。

戻り値

型: System.Type
プロパティの Type です。

関連項目

参照

IAlienObject インターフェイス

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間