Share via


ElementSource Class

Provides information about the model element source.

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

Syntax

'Declaration
Public MustInherit Class ElementSource
'Usage
Dim instance As ElementSource
public abstract class ElementSource
public ref class ElementSource abstract
public abstract class ElementSource
[<AbstractClassAttribute>]
type ElementSource =  class end

Remarks

Represents a bridge between the Schema Model and the Script DOM. This is useful for switching between a model element and the IScriptFragment from which the element was generated.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ElementSource
    Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.SqlElementSource

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

ElementSource Members

Microsoft.Data.Schema.SchemaModel Namespace

Other Resources

Walkthrough: Authoring a Custom Static Code Analysis Rule Assembly for SQL