Compartir a través de


IServerConfigurationFacet.AdHocRemoteQueriesEnabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Vea también

Referencia

IServerConfigurationFacet Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo