Conversão Implicit (ObjectEvent to ObjectEventSet)
Creates a new [:Microsoft.SqlServer.Management.Smo.ObjectEventSet] 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
ObjectEvent object that specifies the object event
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
[Microsoft.SqlServer.Management.Smo.ObjectEventSet]