共用方式為


ISfcDomain.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. nullnull 參考 (在 Visual Basic 中為 Nothing) if typeName is not a type in the domain.

請參閱

參考

ISfcDomain 介面

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