ObjectEventSet.Add Method (ObjectEvent)

 

Adds an ObjectEvent object to the ObjectEventSet object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public ObjectEventSet Add(
	ObjectEvent anEvent
)

Parameters

anEvent
Type: Microsoft.SqlServer.Management.Smo.ObjectEvent

An ObjectEvent object that is added to the ObjectEventSet object.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet

An ObjectEventSet object that contains the added ObjectEvent object.

Return to top
Show: