Condividi tramite


ViewEventSet Constructor (ViewEvent)

Initializes a new instance of the ViewEventSet 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 ViewEvent _
)
public ViewEventSet (
    ViewEvent anEvent
)
public:
ViewEventSet (
    ViewEvent^ anEvent
)
public ViewEventSet (
    ViewEvent anEvent
)
public function ViewEventSet (
    anEvent : ViewEvent
)

Parametri

  • anEvent
    A ViewEvent object that specifies an view event.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the 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

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

Altre risorse

Handling SMO Events