Share via


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

Examples

Handling SMO Events

See Also

Reference

ServerEventSet Class

ServerEventSet Overload

Microsoft.SqlServer.Management.Smo Namespace