UserDefinedFunctionEventSet.Add UserDefinedFunctionEventSet.Add UserDefinedFunctionEventSet.Add Method

Definition

Adds a user defined function event to a user defined function event set.

Overloads

Add(UserDefinedFunctionEvent) Add(UserDefinedFunctionEvent) Add(UserDefinedFunctionEvent)

Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.

Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent)

Adds a user defined function event to an user defined function event set.

Add(UserDefinedFunctionEvent) Add(UserDefinedFunctionEvent) Add(UserDefinedFunctionEvent)

Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.

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

Examples

Handling SMO Events

Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent) Add(UserDefinedFunctionEventSet, UserDefinedFunctionEvent)

Adds a user defined function event to an user defined function event set.

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

The user defined function event set with added event.

Examples

Handling SMO Events

Applies to