Propriété JobServer.AgentLogLevel
Gets or sets the type of messages that are logged by SQL Server Agent.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property AgentLogLevel As AgentLogLevels
Get
Set
'Utilisation
Dim instance As JobServer
Dim value As AgentLogLevels
value = instance.AgentLogLevel
instance.AgentLogLevel = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public AgentLogLevels AgentLogLevel { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property AgentLogLevels AgentLogLevel {
AgentLogLevels get ();
void set (AgentLogLevels value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AgentLogLevel : AgentLogLevels with get, set
function get AgentLogLevel () : AgentLogLevels
function set AgentLogLevel (value : AgentLogLevels)
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent.AgentLogLevels
An AgentLogLevels object value that specifies the type of messages that are logged by SQL Server Agent.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent