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 支援自訂轉換的使用,但不支援新轉換的宣告。
參數
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet which contains the ViewEvent.