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
參數
- typeName
型別:System. . :: . .String
The name of the type.
傳回值
型別:System. . :: . .Type
The Type object with the specified name. nullNothingnullptrunitnull 參考 (在 Visual Basic 中為 Nothing) if typeName is not a type in the domain.