Conversão Implicit (ServerEvent to ServerEventSet)
Creates a server event set by performing an implicit operation on a ServerEvent 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 ServerEvent _
) As ServerEventSet
'Uso
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.
Parâmetros
- eventValue
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.