共用方式為


ISurfaceAreaFacet.AdHocRemoteQueriesEnabled 屬性

Gets or sets the AdHocRemoteQueriesEnabled property value.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("AdHocRemoteQueriesEnabledDesc")> _
<DisplayNameKeyAttribute("AdHocRemoteQueriesEnabledName")> _
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'用途
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)

屬性值

型別:System.Boolean
The AdHocRemoteQueriesEnabled property value.

請參閱

參考

ISurfaceAreaFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間