共用方式為


ServerEventSet.Add Method

Definition

Overloads

Add(ServerEvent)
Add(ServerEventSet, ServerEvent)

Add(ServerEvent)

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

Parameters

anEvent
ServerEvent

Returns

Applies to

Add(ServerEventSet, ServerEvent)

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

Parameters

eventSet
ServerEventSet
anEvent
ServerEvent

Returns

Applies to