共用方式為


IUniqueConstraint 介面

Represents a SQL Server UNIQUE constraint.

命名空間:  Microsoft.SqlServer.Management.SqlParser.Metadata
組件:  Microsoft.SqlServer.Management.SqlParser (在 Microsoft.SqlServer.Management.SqlParser.dll 中)

語法

'宣告
Public Interface IUniqueConstraint _
    Inherits IUniqueConstraintBase, IConstraint, IMetadataObject
'用途
Dim instance As IUniqueConstraint
public interface IUniqueConstraint : IUniqueConstraintBase, 
    IConstraint, IMetadataObject
public interface class IUniqueConstraint : IUniqueConstraintBase, 
    IConstraint, IMetadataObject
type IUniqueConstraint =  
    interface
        interface IUniqueConstraintBase
        interface IConstraint
        interface IMetadataObject
    end
public interface IUniqueConstraint extends IUniqueConstraintBase, IConstraint, IMetadataObject

IUniqueConstraint 型別公開下列成員。

屬性

  名稱 說明
公用屬性 AssociatedIndex Gets an object that represents the index that implements the constraint. (繼承自 IUniqueConstraintBase。)
公用屬性 IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (繼承自 IConstraint。)
公用屬性 Name Gets the name of the metadata object. (繼承自 IMetadataObject。)
公用屬性 Parent Gets the ITabular object that is the parent of this object. (繼承自 IConstraint。)
公用屬性 Type Gets a ConstraintType value that indicates the constraint type. (繼承自 IConstraint。)

上層

方法

  名稱 說明
公用方法 Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (繼承自 IMetadataObject。)

上層