Conversione ViewEvent Implicit (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
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 ViewEvent _
) As ViewEventSet
'Utilizzo
Dim input As ViewEvent
Dim output As ViewEventSet
output = CType(input, ViewEventSet)
public static implicit operator ViewEventSet (
ViewEvent eventValue
)
static implicit operator ViewEventSet^ (
ViewEvent^ eventValue
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.
Parametri
- eventValue
Tipo: Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet which contains the ViewEvent.