DatabaseEvent Implicit Conversion (DatabaseEvent to DatabaseEventSet)

Creates a database event set by performing an implicit operation on a DatabaseEvent object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    eventValue As DatabaseEvent _
) As DatabaseEventSet
'Usage
Dim input As DatabaseEvent 
Dim output As DatabaseEventSet 

output = CType(input, DatabaseEventSet)
public static implicit operator DatabaseEventSet (
    DatabaseEvent eventValue
)
static implicit operator DatabaseEventSet^ (
    DatabaseEvent^ eventValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEvent object value that specifies a database event.

Examples

Handling SMO Events

See Also

Reference

DatabaseEvent Class

Microsoft.SqlServer.Management.Smo Namespace