ServerEventSet Constructor (array<ServerEvent )
Initializes a new instance of the ServerEventSet class with specified events.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
ParamArray events As ServerEvent() _
)
'Usage
Dim events As ServerEvent()
Dim instance As New ServerEventSet(events)
public ServerEventSet(
params ServerEvent[] events
)
public:
ServerEventSet(
... array<ServerEvent^>^ events
)
new :
events:ServerEvent[] -> ServerEventSet
public function ServerEventSet(
... events : ServerEvent[]
)
Parameters
- events
Type: array<Microsoft.SqlServer.Management.Smo.ServerEvent[]
An array of ServerEvent objects that specifies several server events.