TechNet
Export (0) Print
Expand All

SqlBatch Class

 

Represents the information about a batch.

Namespace:   Microsoft.SqlServer.Management.BatchParser
Assembly:  Microsoft.SqlServer.Management.BatchParser (in Microsoft.SqlServer.Management.BatchParser.dll)

System.Object
  Microsoft.SqlServer.Management.BatchParser.SqlBatch

public sealed class SqlBatch

NameDescription
System_CAPS_pubpropertyCharCount

Returns the number of characters in the batch.

System_CAPS_pubpropertyContent

Returns the content of the batch.

System_CAPS_pubpropertyExecutionCount

Returns the number of times this batch should repeat.

System_CAPS_pubpropertyLineCount

Returns the number of lines in the batch.

System_CAPS_pubpropertyNormalizedContent

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.

System_CAPS_pubpropertyStartLine

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

System_CAPS_pubpropertyStartOffset

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft