Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServerEventSet Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the ServerEventSet class.

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

NameDescription
System_CAPS_pubmethodServerEventSet()

Initializes a new instance of the ServerEventSet class.

System_CAPS_pubmethodServerEventSet(ServerEvent)

Initializes a new instance of the ServerEventSet class with a specified event.

System_CAPS_pubmethodServerEventSet(ServerEvent[])

Initializes a new instance of the ServerEventSet class with specified events.

System_CAPS_pubmethodServerEventSet(ServerEventSet)

Initializes a new instance of the ServerEventSet class with specified events.

Return to top

ServerEventSet Constructor ()

Initializes a new instance of the ServerEventSet class.

public ServerEventSet()

The default constructor initializes any fields to their default values.

Legacy Code Example

Return to top

ServerEventSet Constructor (ServerEvent)

Initializes a new instance of the ServerEventSet class with a specified event.

public ServerEventSet(
	ServerEvent anEvent
)

Parameters

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

A ServerEvent object that specifies a server event.

Legacy Code Example

Return to top

ServerEventSet Constructor (ServerEvent[])

Initializes a new instance of the ServerEventSet class with specified events.

public ServerEventSet(
	params ServerEvent[] events
)

Parameters

events
Type: Microsoft.SqlServer.Management.Smo.ServerEvent[]

An array of ServerEvent objects that specifies several server events.

Legacy Code Example

Return to top

ServerEventSet Constructor (ServerEventSet)

Initializes a new instance of the ServerEventSet class with specified events.

public ServerEventSet(
	ServerEventSet eventSet
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.ServerEventSet

A ServerEventSet that specifies a set of database events.

Legacy Code Example

Return to top
Show:
© 2015 Microsoft