Freigeben über


GetType-Methode

Gets the Type of the SFC object class within the domain for the specified type name. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Syntax

'Declaration
Function GetType ( _
    typeName As String _
) As Type
'Usage
Dim instance As ISfcDomain
Dim typeName As String
Dim returnValue As Type

returnValue = instance.GetType(typeName)
Type GetType(
    string typeName
)
Type^ GetType(
    String^ typeName
)
abstract GetType : 
        typeName:string -> Type 
function GetType(
    typeName : String
) : Type

Parameter

Rückgabewert

Typ: System. . :: . .Type
The Type object with the specified name. nullNothingnullptrunitein NULL-Verweis (Nothing in Visual Basic) if typeName is not a type in the domain.