IConstraintFactory.CreatePrimaryKeyConstraint 메서드

Creates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

IPrimaryKeyConstraint CreatePrimaryKeyConstraint(
	ITabular parent,
	IRelationalIndex index
)

매개 변수

parent
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The object that is the parent of the constraint.
index
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IRelationalIndex
The index object that is associated with the primary key to create.

커뮤니티 추가 항목

추가
표시: