Share via


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
Public property IsPrimary Gets a value that indicates whether this is the primary source for the element.
Public property Length Gets the length, in characters, of the element in the file.
Public property Offset Gets the offset, in characters, where the element started in the file.
Public property Script Gets the script that caused the generation of this file.
Public property ScriptDom Gets the script Document Object Model (DOM) representation of the corresponding entity.
Public property SourceName Gets the file name or other unique cache identifier that indicates the source of the element.
Public property StartColumn Gets the column in the line in the file that contains the start of the element definition.
Public property StartLine Gets the line in the file that contains the start of the element definition.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace