共用方式為


SqlBatch Class

Definition

Represents the information about a batch.

public ref class SqlBatch sealed
public sealed class SqlBatch
type SqlBatch = class
Public NotInheritable Class SqlBatch
Inheritance
SqlBatch

Properties

CharCount

Returns the number of characters in the batch.

Content

Returns the content of the batch.

ExecutionCount

Returns the number of times this batch should repeat.

LineCount

Returns the number of lines in the batch.

NormalizedContent

Gets the batch content string where the line endings are normalized to CR/LF. This method normalizes all line endings except for those within a string literal or SQL identifier.

StartLine

Returns the zero-based line number of the first line in the batch relative to the start of script.

StartOffset

Returns the zero-based offset of the first character of the batch relative to the start of script.

Applies to