Condividi tramite


ServiceQueueEventSet Constructor (ServiceQueueEvent)

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    anEvent As ServiceQueueEvent _
)
public ServiceQueueEventSet (
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet (
    ServiceQueueEvent^ anEvent
)
public ServiceQueueEventSet (
    ServiceQueueEvent anEvent
)
public function ServiceQueueEventSet (
    anEvent : ServiceQueueEvent
)

Parametri

  • anEvent
    A ServiceQueueEvent object that specifies a data definition language (DDL) server event.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ServiceQueueEventSet Class
ServiceQueueEventSet Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Handling SMO Events