TableEvent.Addition Operator
Creates a table event set by performing an addition operation on two TableEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Operator + ( _
eventLeft As TableEvent, _
eventRight As TableEvent _
) As TableEventSet
'Usage
Dim eventLeft As TableEvent
Dim eventRight As TableEvent
Dim returnValue As TableEventSet
returnValue = (eventLeft + eventRight)
public static TableEventSet operator +(
TableEvent eventLeft,
TableEvent eventRight
)
public:
static TableEventSet^ operator +(
TableEvent^ eventLeft,
TableEvent^ eventRight
)
static let inline(+)
eventLeft:TableEvent *
eventRight:TableEvent : TableEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- eventLeft
Type: Microsoft.SqlServer.Management.Smo.TableEvent
A TableEvent object that specifies the table events.
- eventRight
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.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace