Compartilhar via


Conversão Implicit (DatabaseEvent to DatabaseEventSet)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared Widening Operator CType ( _
    eventValue As DatabaseEvent _
) As DatabaseEventSet
'Uso
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.

Parâmetros

Valor de retorno

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