ServerEventSet Constructor (ServerEvent)
Initializes a new instance of the ServerEventSet class with a specified event.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
anEvent As ServerEvent _
)
'Usage
Dim anEvent As ServerEvent
Dim instance As New ServerEventSet(anEvent)
public ServerEventSet(
ServerEvent anEvent
)
public:
ServerEventSet(
ServerEvent^ anEvent
)
new :
anEvent:ServerEvent -> ServerEventSet
public function ServerEventSet(
anEvent : ServerEvent
)
Parameters
- anEvent
Type: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies a server event.