Udostępnij przez


SoapPayload.IsSqlBatchesEnabled Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property IsSqlBatchesEnabled As Boolean
[SfcPropertyAttribute] 
public bool IsSqlBatchesEnabled { get; set; }
[SfcPropertyAttribute] 
public:
property bool IsSqlBatchesEnabled {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsSqlBatchesEnabled ()

/** @property */
public void set_IsSqlBatchesEnabled (boolean value)
public function get IsSqlBatchesEnabled () : boolean

public function set IsSqlBatchesEnabled (value : boolean)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.