Compartir a través de


ServiceQueueEventSet Constructor (ServiceQueueEvent)

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    anEvent As ServiceQueueEvent _
)
public ServiceQueueEventSet (
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet (
    ServiceQueueEvent^ anEvent
)
public ServiceQueueEventSet (
    ServiceQueueEvent anEvent
)
public function ServiceQueueEventSet (
    anEvent : ServiceQueueEvent
)

Parámetros

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

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

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

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Handling SMO Events