TableEventSet.Addition Operator
Creates a table event set by performing an addition operation on a TableEvent object and a TableEventSet object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Operator + ( _
eventSet As TableEventSet, _
anEvent As TableEvent _
) As TableEventSet
'Usage
Dim eventSet As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet
returnValue = (eventSet + anEvent)
public static TableEventSet operator +(
TableEventSet eventSet,
TableEvent anEvent
)
public:
static TableEventSet^ operator +(
TableEventSet^ eventSet,
TableEvent^ anEvent
)
static let inline(+)
eventSet:TableEventSet *
anEvent:TableEvent : TableEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- eventSet
Type: Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object that specifies the table event set.
- anEvent
Type: Microsoft.SqlServer.Management.Smo.TableEvent
A TableEvent object that specifies the table events.
Return Value
Type: Microsoft.SqlServer.Management.Smo.TableEventSet
A TableEventSet object value that specifies a set of table events.