Delen via


ScriptOption.AgentNotify Property

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

Property Value

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

Examples

Scripting