IConstraintFactory.CreateUniqueConstraint(ITabular, IRelationalIndex) IConstraintFactory.CreateUniqueConstraint(ITabular, IRelationalIndex) IConstraintFactory.CreateUniqueConstraint(ITabular, IRelationalIndex) Method

정의

지정한 IUniqueConstraint 개체와 연결된 IRelationalIndex 개체를 만듭니다. Creates an IUniqueConstraint object that is associated with the specified IRelationalIndex object.

public:
 Microsoft::SqlServer::Management::SqlParser::Metadata::IUniqueConstraint ^ CreateUniqueConstraint(Microsoft::SqlServer::Management::SqlParser::Metadata::ITabular ^ parent, Microsoft::SqlServer::Management::SqlParser::Metadata::IRelationalIndex ^ index);
public Microsoft.SqlServer.Management.SqlParser.Metadata.IUniqueConstraint CreateUniqueConstraint (Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular parent, Microsoft.SqlServer.Management.SqlParser.Metadata.IRelationalIndex index);
Public Function CreateUniqueConstraint (parent As ITabular, index As IRelationalIndex) As IUniqueConstraint
매개 변수
parent
ITabular ITabular ITabular

제약 조건의 부모인 개체입니다. The object that is the parent of the constraint.

index
IRelationalIndex IRelationalIndex IRelationalIndex

UNIQUE 제약 조건과 연결된 인덱스 개체입니다. The index object that is associated with the UNIQUE constraint.

반환

적용 대상