Implicit 转换 (UserDefinedFunctionEvent to UserDefinedFunctionEventSet)

Casts a single user defined function event as a user defined function event set.

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

语法

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

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