UniqueConstraintDefinition Class

 

Represents the unique or primary key constraint. This class translates 80 syntax into 90 syntax, this should be reflected in the AST, if a differentiator is to be written.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)


<SerializableAttribute>
Public Class UniqueConstraintDefinition
	Inherits ConstraintDefinition

NameDescription
System_CAPS_pubmethodUniqueConstraintDefinition()

Initializes a new instance of the UniqueConstraintDefinition class.

NameDescription
System_CAPS_pubpropertyClustered

Gets or sets a value that indicates whether the constraint is clustered.

System_CAPS_pubpropertyColumns

Gets a list of constraint columns.

System_CAPS_pubpropertyConstraintIdentifier

Gets the name of the constraint.(Inherited from ConstraintDefinition.)

System_CAPS_pubpropertyFileStreamOn

Gets or sets an optional specification of the file stream. It can be either Identifier or String literal.

System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyIndexOptions

Gets a list of index options.

System_CAPS_pubpropertyIndexType

Gets or sets the index type.

System_CAPS_pubpropertyIsPrimaryKey

Gets or sets whether the constraint is both unique and a primary key.

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyOnFileGroupOrPartitionScheme

Gets or sets the file group or partition scheme. It might be null.

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartColumn

Gets the starting column.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartLine

Gets the starting line.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.(Inherited from TSqlFragment.)

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.(Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.(Overrides ConstraintDefinition.AcceptChildren(TSqlFragmentVisitor).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(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: