Delen via


IAlienObject.GetPropertyType Method

Gets the type of the specified property.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetPropertyType ( _
    propertyName As String _
) As Type
'Usage
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

Parameters

  • propertyName
    Type: System.String
    The name of the property to get the type of.

Return Value

Type: System.Type
The Type of the property.