Conversão ObjectEvent Implicit (ObjectEvent to ObjectEventSet)
:Microsoft.SqlServer.Management.Smo.ObjectEventSetCreates a new object event set by implicitly converting a ObjectEvent.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Widening Operator CType ( _
eventValue As ObjectEvent _
) As ObjectEventSet
'Uso
Dim input As ObjectEvent
Dim output As ObjectEventSet
output = CType(input, ObjectEventSet)
public static implicit operator ObjectEventSet (
ObjectEvent eventValue
)
static implicit operator ObjectEventSet^ (
ObjectEvent^ 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.ObjectEvent
The specified value of the object event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ObjectEventSet
The newly created object event set.