IServerConfigurationFacet.AdHocRemoteQueriesEnabled 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
用法
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)

属性值

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

请参阅

参考

IServerConfigurationFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间