Поделиться через


Свойство SoapPayload.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(SfcPropertyFlags.Standalone)> _
Public Property IsSqlBatchesEnabled As Boolean 
    Get 
    Set
'Применение
Dim instance As SoapPayload 
Dim value As Boolean 

value = instance.IsSqlBatchesEnabled

instance.IsSqlBatchesEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsSqlBatchesEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsSqlBatchesEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.

Примеры

Реализация конечных точек

См. также

Справочник

SoapPayload Класс

Пространство имен Microsoft.SqlServer.Management.Smo