SqlSourceInformation Class
Provides information about the source of a model element.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.Sql.SchemaModel.SqlSourceInformation
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Class SqlSourceInformation _
Implements ISourceInformation
public class SqlSourceInformation : ISourceInformation
public ref class SqlSourceInformation : ISourceInformation
type SqlSourceInformation =
class
interface ISourceInformation
end
public class SqlSourceInformation implements ISourceInformation
The SqlSourceInformation type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsPrimary | Gets a value that indicates whether this is the primary source for the element. | |
Length | Gets the length, in characters, of the element in the file. | |
Offset | Gets the offset, in characters, where the element started in the file. | |
Script | Gets the script that caused the generation of this file. | |
ScriptDom | Gets the script Document Object Model (DOM) representation of the corresponding entity. | |
SourceName | Gets the file name or other unique cache identifier that indicates the source of the element. | |
StartColumn | Gets the column in the line in the file that contains the start of the element definition. | |
StartLine | Gets the line in the file that contains the start of the element definition. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.