共用方式為


IsSqlBatchesEnabled 屬性

Gets or sets the Boolean property that specifies whether ad-hoc queries are allowed using the sqlbatch method.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property IsSqlBatchesEnabled As Boolean
    Get
    Set
'用途
Dim instance As SoapPayload
Dim value As Boolean

value = instance.IsSqlBatchesEnabled

instance.IsSqlBatchesEnabled = value
[SfcPropertyAttribute]
public bool IsSqlBatchesEnabled { get; set; }
[SfcPropertyAttribute]
public:
property bool IsSqlBatchesEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member IsSqlBatchesEnabled : bool with get, set
function get IsSqlBatchesEnabled () : boolean
function set IsSqlBatchesEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether ad-hoc queries are allowed using the sqlbatch method.
If True, ad hoc queries are allowed using the sqlbatch method.
If False (default), ad-hoc queries are not allowed.

範例

實作端點