مشاركة عبر


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

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
The newly created object event set.

See Also

Reference

ObjectEvent Class

Microsoft.SqlServer.Management.Smo Namespace