Condividi tramite


Conversione Implicit (StoredProcedureEvent to StoredProcedureEventSet)

Casts a single Stored Procedure Event as a Stored Procedure 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 StoredProcedureEvent _
) As StoredProcedureEventSet
'Utilizzo
Dim input As StoredProcedureEvent
Dim output As StoredProcedureEventSet

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