SqlAssemblyEventSet.Add SqlAssemblyEventSet.Add SqlAssemblyEventSet.Add Method

Definition

Returns an SQL assembly event set after adding a new SQL assembly event to the event set.

Overloads

Add(SqlAssemblyEvent) Add(SqlAssemblyEvent) Add(SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.

Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.

Examples

Handling SMO Events

Add(SqlAssemblyEvent) Add(SqlAssemblyEvent) Add(SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.

public:
 Microsoft::SqlServer::Management::Smo::SqlAssemblyEventSet ^ Add(Microsoft::SqlServer::Management::Smo::SqlAssemblyEvent ^ anEvent);
public Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet Add (Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent anEvent);
Public Function Add (anEvent As SqlAssemblyEvent) As SqlAssemblyEventSet
Parameters
Returns

Examples

Handling SMO Events

Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent) Add(SqlAssemblyEventSet, SqlAssemblyEvent)

Returns an SQL assembly event set after adding a new SQL assembly event to the specified event set.

public:
 static Microsoft::SqlServer::Management::Smo::SqlAssemblyEventSet ^ Add(Microsoft::SqlServer::Management::Smo::SqlAssemblyEventSet ^ eventSet, Microsoft::SqlServer::Management::Smo::SqlAssemblyEvent ^ anEvent);
public static Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet Add (Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet eventSet, Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent anEvent);
Public Shared Function Add (eventSet As SqlAssemblyEventSet, anEvent As SqlAssemblyEvent) As SqlAssemblyEventSet
Parameters
Returns

Examples

Handling SMO Events

Applies to