Udostępnij przez


IServerConfigurationFacet.AdHocRemoteQueriesEnabled Property

Gets or sets a Boolean value that specifies if ad hoc remote queries are enabled. This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Property AdHocRemoteQueriesEnabled As Boolean
bool AdHocRemoteQueriesEnabled { get; set; }
property bool AdHocRemoteQueriesEnabled {
    bool get ();
    void set (bool value);
}
/** @property */
boolean get_AdHocRemoteQueriesEnabled ()

/** @property */
void set_AdHocRemoteQueriesEnabled (boolean value)
function get AdHocRemoteQueriesEnabled () : boolean

function set AdHocRemoteQueriesEnabled (value : boolean)

Property Value

True if ad hoc remote queries are enabled. False if ad hoc remote queries are not enabled.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.