ServerDdlTriggerEvent Implicit 轉換 (ServerDdlTriggerEvent to ServerDdlTriggerEventSet)
Creates a server event set by performing an implicit operation on a ServerDdlTriggerEvent object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)
語法
'宣告
Public Shared Widening Operator CType ( _
eventValue As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'用途
Dim input As ServerDdlTriggerEvent
Dim output As ServerDdlTriggerEventSet
output = CType(input, ServerDdlTriggerEventSet)
public static implicit operator ServerDdlTriggerEventSet (
ServerDdlTriggerEvent eventValue
)
static implicit operator ServerDdlTriggerEventSet^ (
ServerDdlTriggerEvent^ eventValue
)
JScript 支援自訂轉換的使用,但不支援新轉換的宣告。
參數
- eventValue
型別:Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server data definition language (DDL) events.
傳回值
型別:Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.