Conversão Implicit (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Widening Operator CType ( _
eventValue As ViewEvent _
) As ViewEventSet
'Uso
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 dá suporte ao uso de casts personalizados, mas não à declaração de casts novos.
Parâmetros
- eventValue
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ViewEvent
ViewEvent
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet which contains the ViewEvent.