Compartilhar via


Construtor ServerEventSet (ServerEvent)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    anEvent As ServerEvent _
)
'Uso
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
)

Parâmetros