Bagikan melalui


TSqlScript.Batches Property

Gets or sets the batches in the script.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public ReadOnly Property Batches As IList(Of TSqlBatch)
    Get
'Usage
Dim instance As TSqlScript 
Dim value As IList(Of TSqlBatch)

value = instance.Batches
public IList<TSqlBatch> Batches { get; }
public:
property IList<TSqlBatch^>^ Batches {
    IList<TSqlBatch^>^ get ();
}
member Batches : IList<TSqlBatch>
function get Batches () : IList<TSqlBatch>

Property Value

Type: System.Collections.Generic.IList<TSqlBatch>
The batches in the script.

See Also

Reference

TSqlScript Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace