ViewEvent Implicit 转换 (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Widening Operator CType ( _
eventValue As ViewEvent _
) As ViewEventSet
用法
Dim input As ViewEvent
Dim output As ViewEventSet
output = CType(input, ViewEventSet)
public static implicit operator ViewEventSet (
ViewEvent eventValue
)
static implicit operator ViewEventSet^ (
ViewEvent^ eventValue
)
JScript 支持使用自定义转换,但不支持声明新自定义转换。
参数
- eventValue
类型:Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
返回值
类型:Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet which contains the ViewEvent.