Condividi tramite


Conversione Implicit (ServerDdlTriggerEvent to ServerDdlTriggerEventSet)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Sintassi

'Dichiarazione
Public Shared Widening Operator CType ( _
    eventValue As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Utilizzo
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 supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEventSet
Returns ServerDdlTriggerEventSet which contains the ServerDdlTriggerEvent object that specifies the server data definition language (DDL).

Osservazioni

A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.