Dela via


ServerEvent.AlterEventSession Property

Gets a server event that can be included in the event set.

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

Syntax

'Declaration
Public Shared ReadOnly Property AlterEventSession As ServerEvent
    Get
'Usage
Dim value As ServerEvent

value = ServerEvent.AlterEventSession
public static ServerEvent AlterEventSession { get; }
public:
static property ServerEvent^ AlterEventSession {
    ServerEvent^ get ();
}
static member AlterEventSession : ServerEvent
static function get AlterEventSession () : ServerEvent

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that represents the AlterEventSession event that can be included in the server event set.