ServerTraceEvent Implicit 转换 (ServerTraceEvent to ServerTraceEventSet)
Converts a single server trace event to a server trace event set.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Widening Operator CType ( _
eventValue As ServerTraceEvent _
) As ServerTraceEventSet
用法
Dim input As ServerTraceEvent
Dim output As ServerTraceEventSet
output = CType(input, ServerTraceEventSet)
public static implicit operator ServerTraceEventSet (
ServerTraceEvent eventValue
)
static implicit operator ServerTraceEventSet^ (
ServerTraceEvent^ eventValue
)
JScript 支持使用自定义转换,但不支持声明新自定义转换。
参数
- eventValue
类型:Microsoft.SqlServer.Management.Smo.ServerTraceEvent
The specified value of the server trace event.
返回值
类型:Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
The converted server trace event set.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。