共用方式為


IAlienObject.GetPropertyType 方法

Gets the type of the specified property.

命名空間:  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
    The name of the property to get the type of.

傳回值

型別:System.Type
The Type of the property.

請參閱

參考

IAlienObject 介面

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