共用方式為


ServerAdapterBase.AdHocRemoteQueriesEnabled 屬性

Gets or sets the value of the referenced property.

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

語法

'宣告
Public Property AdHocRemoteQueriesEnabled As Boolean 
    Get 
    Set
'用途
Dim instance As ServerAdapterBase 
Dim value As Boolean 

value = instance.AdHocRemoteQueriesEnabled

instance.AdHocRemoteQueriesEnabled = value
public bool AdHocRemoteQueriesEnabled { get; set; }
public:
virtual property bool AdHocRemoteQueriesEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract AdHocRemoteQueriesEnabled : bool with get, set 
override AdHocRemoteQueriesEnabled : bool with get, set
final function get AdHocRemoteQueriesEnabled () : boolean 
final function set AdHocRemoteQueriesEnabled (value : boolean)

屬性值

型別:System.Boolean
An Int32 value that contains the value of the referenced property option.

請參閱

參考

ServerAdapterBase 類別

Microsoft.SqlServer.Management.Smo 命名空間