Proprietà JobServer.SaveInSentFolder
Gets or sets the Boolean property value that specifies whether the notifications are saved.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property SaveInSentFolder As Boolean
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: 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.
Esempi
Pianificazione delle attività amministrative automatiche in SQL Server Agent
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Altre risorse
Automatizzazione delle attività amministrative (SQL Server Agent)