ObjectEvent Implicit 轉換 (ObjectEvent to ObjectEventSet)
:Microsoft.SqlServer.Management.Smo.ObjectEventSetCreates a new object event set by implicitly converting a ObjectEvent.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Widening Operator CType ( _
eventValue As ObjectEvent _
) As ObjectEventSet
'用途
Dim input As ObjectEvent
Dim output As ObjectEventSet
output = CType(input, ObjectEventSet)
public static implicit operator ObjectEventSet (
ObjectEvent eventValue
)
static implicit operator ObjectEventSet^ (
ObjectEvent^ eventValue
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。
參數
- eventValue
型別:Microsoft.SqlServer.Management.Smo.ObjectEvent
The specified value of the object event.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
The newly created object event set.