Share via


Propriété AgentXPsEnabled

Obtient l'objet ConfigProperty utilisé pour définir l'option de configuration Agent XPs activé.

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

Syntaxe

'Déclaration
Public ReadOnly Property AgentXPsEnabled As ConfigProperty
    Get
'Utilisation
Dim instance As Configuration
Dim value As ConfigProperty

value = instance.AgentXPsEnabled
public ConfigProperty AgentXPsEnabled { get; }
public:
property ConfigProperty^ AgentXPsEnabled {
    ConfigProperty^ get ();
}
member AgentXPsEnabled : ConfigProperty
function get AgentXPsEnabled () : ConfigProperty

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
Objet ConfigProperty qui spécifie les paramètres de l'option de configuration Agent XPs activé.

Notes

The AgentXPsEnabled property sets the agent XPs enabled configuration option. This property is used to enable the SQL Server Agent extended stored procedures.