Partager via


Propriété ISurfaceAreaFacet.AdHocRemoteQueriesEnabled

Gets or sets the AdHocRemoteQueriesEnabled property value.

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

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ISurfaceAreaFacet 
Dim value As Boolean 

value = instance.AdHocRemoteQueriesEnabled

instance.AdHocRemoteQueriesEnabled = value
[DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")]
[DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")]
bool AdHocRemoteQueriesEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"AdHocRemoteQueriesEnabledDesc")]
[DisplayNameKeyAttribute(L"AdHocRemoteQueriesEnabledName")]
property bool AdHocRemoteQueriesEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")>]
[<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")>]
abstract AdHocRemoteQueriesEnabled : bool with get, set
function get AdHocRemoteQueriesEnabled () : boolean 
function set AdHocRemoteQueriesEnabled (value : boolean)

Valeur de propriété

Type : System.Boolean
The AdHocRemoteQueriesEnabled property value.

Voir aussi

Référence

ISurfaceAreaFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo