Condividi tramite


Conversione Implicit (DatabaseEvent to DatabaseEventSet)

Creates a database event set by performing an implicit operation on a DatabaseEvent object.

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

Sintassi

'Dichiarazione
Public Shared Widening Operator CType ( _
    eventValue As DatabaseEvent _
) As DatabaseEventSet
'Utilizzo
Dim input As DatabaseEvent
Dim output As DatabaseEventSet

output = CType(input, DatabaseEventSet)
public static implicit operator DatabaseEventSet (
    DatabaseEvent eventValue
)
static implicit operator DatabaseEventSet^ (
    DatabaseEvent^ eventValue
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEventSet
A DatabaseEvent object value that specifies a database event.