Freigeben über


AgentNotify-Eigenschaft

Gets an object that specifies whether to include notifications for any SQL Server Agent alerts that in the script. 

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

Syntax

'Declaration
Public Shared ReadOnly Property AgentNotify As ScriptOption
    Get
'Usage
Dim value As ScriptOption

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

Eigenschaftenwert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that represents AgentNotify in the scripting options.

Beispiele

Skripterstellung