Udostępnij za pośrednictwem


SynonymEvents.ServerEvent Event

Specifies the event that is raised when an event occurs in Synonym object, and the user has subscribed to the events from that object instance.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Event ServerEvent As ServerEventHandler
public event ServerEventHandler ServerEvent
public:
event ServerEventHandler^ ServerEvent {
    void add (ServerEventHandler^ value);
    void remove (ServerEventHandler^ value);
}
/** @event */
public void add_ServerEvent (ServerEventHandler value)

/** @event */
public void remove_ServerEvent (ServerEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.