Conversione Implicit (ServerEvent to ServerEventSet)
Creates a server event set by performing an implicit operation on a ServerEvent 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 ServerEvent _
) As ServerEventSet
'Utilizzo
Dim input As ServerEvent
Dim output As ServerEventSet
output = CType(input, ServerEventSet)
public static implicit operator ServerEventSet (
ServerEvent eventValue
)
static implicit operator ServerEventSet^ (
ServerEvent^ eventValue
)
JScript supporta l'utilizzo di cast personalizzati, ma non la dichiarazione di nuovi cast.
Parametri
- eventValue
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server event.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.