共用方式為


DatabaseEventSet.Add Method

Definition

Overloads

Add(DatabaseEvent)
Add(DatabaseEventSet, DatabaseEvent)

Add(DatabaseEvent)

public Microsoft.SqlServer.Management.Smo.DatabaseEventSet Add (Microsoft.SqlServer.Management.Smo.DatabaseEvent anEvent);
member this.Add : Microsoft.SqlServer.Management.Smo.DatabaseEvent -> Microsoft.SqlServer.Management.Smo.DatabaseEventSet
Public Function Add (anEvent As DatabaseEvent) As DatabaseEventSet

Parameters

anEvent
DatabaseEvent

Returns

Applies to

Add(DatabaseEventSet, DatabaseEvent)

public static Microsoft.SqlServer.Management.Smo.DatabaseEventSet Add (Microsoft.SqlServer.Management.Smo.DatabaseEventSet eventSet, Microsoft.SqlServer.Management.Smo.DatabaseEvent anEvent);
static member Add : Microsoft.SqlServer.Management.Smo.DatabaseEventSet * Microsoft.SqlServer.Management.Smo.DatabaseEvent -> Microsoft.SqlServer.Management.Smo.DatabaseEventSet
Public Shared Function Add (eventSet As DatabaseEventSet, anEvent As DatabaseEvent) As DatabaseEventSet

Parameters

eventSet
DatabaseEventSet
anEvent
DatabaseEvent

Returns

Applies to