Clase SqlAssemblyEvents
The SqlAssemblyEvents object represents the settings that are required for SQL Server assembly event notification.
System.Object
Microsoft.SqlServer.Management.Smo.SqlAssemblyEvents
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
'Declaración
Public Class SqlAssemblyEvents
'Uso
Dim instance As SqlAssemblyEvents
public class SqlAssemblyEvents
public ref class SqlAssemblyEvents
type SqlAssemblyEvents = class end
public class SqlAssemblyEvents
El tipo SqlAssemblyEvents expone los siguientes miembros.
Nombre | Descripción | |
---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetEventSelection | Returns the currently selected event notifications. |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
StartEvents | Starts receiving events. |
![]() |
StopEvents | Stops receiving events. |
![]() |
SubscribeToEvents(SqlAssemblyEventSet) | Specifies the assembly events to receive. |
![]() |
SubscribeToEvents(SqlAssemblyEventSet, ServerEventHandler) | Specifies the assembly events to receive and the event handler that handles the events. |
![]() |
ToString | (Se hereda de Object.) |
![]() |
UnsubscribeAllEvents | Clears all event settings, and removes all event handlers. |
![]() |
UnsubscribeFromEvents | Clears the specified event settings, and removes all event handlers. |
Arriba
Nombre | Descripción | |
---|---|---|
![]() |
ServerEvent | Specifies the event raised when an event occurs in SqlAssembly object and the user has subscribed to the events from that object instance. |
Arriba
The SqlAssemblyEvents class is accessed through Events property and cannot be created as a stand-alone object.
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.