DatabaseEventSet Constructor (array<DatabaseEvent )
Initializes a new instance of the DatabaseEventSet class with a specified set of events.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
ParamArray events As DatabaseEvent() _
)
'Uso
Dim events As DatabaseEvent()
Dim instance As New DatabaseEventSet(events)
public DatabaseEventSet(
params DatabaseEvent[] events
)
public:
DatabaseEventSet(
... array<DatabaseEvent^>^ events
)
new :
events:DatabaseEvent[] -> DatabaseEventSet
public function DatabaseEventSet(
... events : DatabaseEvent[]
)
Parámetros
- events
Tipo: array<Microsoft.SqlServer.Management.Smo.DatabaseEvent[]
An array of DatabaseEvent objects that specifies several database events.