ObjectEvent Implicit Conversion (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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
eventValue As ObjectEvent _
) As ObjectEventSet
'Usage
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 supports the use of custom casts, but not the declaration of new ones.
Parameters
- eventValue
Type: Microsoft.SqlServer.Management.Smo.ObjectEvent
The specified value of the object event.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
The newly created object event set.