GetType 方法 (String)
Gets the type given the specified type name.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Public Function GetType ( _
typeName As String _
) As Type
'用途
Dim instance As RegisteredServersStore
Dim typeName As String
Dim returnValue As Type
returnValue = instance.GetType(typeName)
public Type GetType(
string typeName
)
public:
virtual Type^ GetType(
String^ typeName
) sealed
abstract GetType :
typeName:string -> Type
override GetType :
typeName:string -> Type
public final function GetType(
typeName : String
) : Type
參數
- typeName
型別:System. . :: . .String
A String object that specifies an name of the type.
傳回值
型別:System. . :: . .Type
A Type value that specifies the type.
實作
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。