Constructeur DatabaseEventSet (DatabaseEvent)
Initializes a new instance of the DatabaseEventSet class with a specified set of events.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
anEvent As DatabaseEvent _
)
'Utilisation
Dim anEvent As DatabaseEvent
Dim instance As New DatabaseEventSet(anEvent)
public DatabaseEventSet(
DatabaseEvent anEvent
)
public:
DatabaseEventSet(
DatabaseEvent^ anEvent
)
new :
anEvent:DatabaseEvent -> DatabaseEventSet
public function DatabaseEventSet(
anEvent : DatabaseEvent
)
Paramètres
- anEvent
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEvent
A DatabaseEvent object that specifies a database event.