Share via


SqlScriptProperty Class

Represents a property of a Transact-SQL script.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Sql.SchemaModel.SqlScriptProperty

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public NotInheritable Class SqlScriptProperty
public sealed class SqlScriptProperty
public ref class SqlScriptProperty sealed
[<Sealed>]
type SqlScriptProperty =  class end
public final class SqlScriptProperty

The SqlScriptProperty type exposes the following members.

Constructors

  Name Description
Public method SqlScriptProperty(String) Initializes a new instance of the SqlScriptProperty class.
Public method SqlScriptProperty(TSqlFragment) Initializes a new instance of the SqlScriptProperty class.
Public method SqlScriptProperty(String, Nullable<Boolean>, Nullable<Boolean>) Initializes a new instance of the SqlScriptProperty class.

Top

Properties

  Name Description
Public property AnsiNulls Gets the AnsiNulls setting for the script.
Public property CacheIdentifier Gets the file name or other unique cache identifier that indicates the source of the property.
Public property Length Gets the length, in characters, of the property in the file.
Public property Offset Gets the offset, in characters, of where the property started in the file.
Public property QuotedIdentifiers Gets the QuotedIdentifiers setting for the script.
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 element.
Public property StartColumn Gets the column number in the line where the property started.
Public property StartLine Gets the line number where the property started in the file.

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