Aracılığıyla paylaş


SqlAssemblyEvent.Equality Operator

Creates an assembly event set by performing an equality operation on two SqlAssemblyEvent objects.

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

Syntax

'Bildirim
Public Shared Operator = ( _
    a As SqlAssemblyEvent, _
    b As SqlAssemblyEvent _
) As Boolean
'Kullanım
Dim a As SqlAssemblyEvent
Dim b As SqlAssemblyEvent
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    SqlAssemblyEvent a,
    SqlAssemblyEvent b
)
public:
static bool operator ==(
    SqlAssemblyEvent^ a, 
    SqlAssemblyEvent^ b
)
static let inline (=)
        a:SqlAssemblyEvent * 
        b:SqlAssemblyEvent  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
A SqlAssemblyEventSet object value that specifies a set of assembly events.

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEvent Class

Microsoft.SqlServer.Management.Smo Namespace