Gets the Type of a class, such as XEStore, Package, EventInfo, EventColumnInfo, or TargetInfo, from the name specified by the typeName parameter.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Private Function GetType ( _
typeName As String _
) As Type Implements ISfcDomain.GetType
用法
Dim instance As XEStore
Dim typeName As String
Dim returnValue As Type
returnValue = CType(instance, ISfcDomain).GetType(typeName)
Type ISfcDomain.GetType(
string typeName
)
private:
virtual Type^ GetType(
String^ typeName
) sealed = ISfcDomain::GetType
private abstract GetType :
typeName:string -> Type
private override GetType :
typeName:string -> Type
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- typeName
类型:System.String
A string value that specifies the name of the type.
返回值
类型:System.Type
Returns the Type of the class specified by the typeName parameter.