Jaa


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

'Declaration
Public Property IsSqlBatchesEnabled As Boolean
public bool IsSqlBatchesEnabled { get; set; }
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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

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 2005.

Target Platforms

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

See Also

Reference

SoapPayload Class
SoapPayload Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Implementing Endpoints