Partager via


AgentNotify propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property AgentNotify As ScriptOption
    Get
'Utilisation
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

Valeur de la propriété

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