Constructeur ServerEventSet (ServerEvent)
Initializes a new instance of the ServerEventSet class with a specified event.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
anEvent As ServerEvent _
)
'Utilisation
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
)
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies a server event.