GetType 方法

Gets the Type of the SFC object class within the domain for the specified type name. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function GetType ( _
    typeName As String _
) As Type
用法
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

参数

返回值

类型:System. . :: . .Type
The Type object with the specified name. nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) if typeName is not a type in the domain.