다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

끝점 구현