Partager via


Propriété IServerConfigurationFacet.AdHocRemoteQueriesEnabled

Gets or sets a Boolean value that specifies whether ad hoc remote queries are enabled.

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

Syntaxe

'Déclaration
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As IServerConfigurationFacet 
Dim value As Boolean 

value = instance.AdHocRemoteQueriesEnabled

instance.AdHocRemoteQueriesEnabled = value
bool AdHocRemoteQueriesEnabled { get; set; }
property bool AdHocRemoteQueriesEnabled {
    bool get ();
    void set (bool value);
}
abstract AdHocRemoteQueriesEnabled : bool with get, set
function get AdHocRemoteQueriesEnabled () : boolean 
function set AdHocRemoteQueriesEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
Returns True if ad hoc remote queries are enabled. Returns False if ad hoc remote queries are not enabled.

Voir aussi

Référence

IServerConfigurationFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo