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