JobServer.SaveInSentFolder Property
Gets or sets the Boolean property value that specifies whether the notifications are saved.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property SaveInSentFolder As Boolean
Get
Set
'Usage
Dim instance As JobServer
Dim value As Boolean
value = instance.SaveInSentFolder
instance.SaveInSentFolder = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool SaveInSentFolder { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool SaveInSentFolder {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member SaveInSentFolder : bool with get, set
function get SaveInSentFolder () : boolean
function set SaveInSentFolder (value : boolean)
Property Value
Type: System.Boolean
A Boolean value that specifies whether the notification messages are saved or not.If True, the notification messages are saved in the Sent folder.If False (default), the notification messages are not saved.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace