Implicit 转换 (SqlAssemblyEvent to SqlAssemblyEventSet)

Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared Widening Operator CType ( _
    eventValue As SqlAssemblyEvent _
) As SqlAssemblyEventSet
用法
Dim input As SqlAssemblyEvent
Dim output As SqlAssemblyEventSet

output = CType(input, SqlAssemblyEventSet)
public static implicit operator SqlAssemblyEventSet (
    SqlAssemblyEvent eventValue
)
static implicit operator SqlAssemblyEventSet^ (
    SqlAssemblyEvent^ eventValue
)
JScript 支持使用自定义转换,但不支持声明新自定义转换。