مشاركة عبر


ServerDdlTriggerEvent Implicit Conversion (ServerDdlTriggerEvent to ServerDdlTriggerEventSet)

Creates a server event set by performing an implicit operation on a ServerDdlTriggerEvent object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    eventValue As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Usage
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 supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.

Examples

Handling SMO Events

See Also

Reference

ServerDdlTriggerEvent Class

Microsoft.SqlServer.Management.Smo Namespace