次の方法で共有


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

パラメーター

戻り値

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