ServerDdlTriggerEvent.Add Method
Returns a Server DDL trigger event set after adding an SQL DLL trigger event to the event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
Syntax
'Declaration
Public Shared Function Add ( _
eventLeft As ServerDdlTriggerEvent, _
eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
public static ServerDdlTriggerEventSet Add (
ServerDdlTriggerEvent eventLeft,
ServerDdlTriggerEvent eventRight
)
public:
static ServerDdlTriggerEventSet^ Add (
ServerDdlTriggerEvent^ eventLeft,
ServerDdlTriggerEvent^ eventRight
)
public static ServerDdlTriggerEventSet Add (
ServerDdlTriggerEvent eventLeft,
ServerDdlTriggerEvent eventRight
)
public static function Add (
eventLeft : ServerDdlTriggerEvent,
eventRight : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet
Parameters
- eventLeft
A ServerDdlTriggerEvent object that specifies the server data definition language (DDL) events.
- eventRight
A ServerDdlTriggerEvent object that specifies the server DDL events.
Return Value
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the event is added.
Remarks
Updated text:
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ServerDdlTriggerEvent Class
ServerDdlTriggerEvent Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Change History
Release |
History |
New content:
|