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

参数

返回值

类型:System. . :: . .Type
A Type value that specifies the type.

实现

ISfcDomain. . :: . .GetType(String)

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。