다음을 통해 공유


ForeignKey.Script Method

Generates a Transact-SQL script that can be used to re-create the foreign key.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

오버로드 목록

이름 Description
ForeignKey.Script ()
Generates a Transact-SQL script that can be used to re-create the foreign key.
ForeignKey.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the foreign key as specified by the script options.

참고 항목

참조

ForeignKey Class
ForeignKey Members
Microsoft.SqlServer.Management.Smo Namespace

관련 자료

Creating, Altering, and Removing Foreign Keys
FOREIGN KEY 제약 조건 만들기 및 수정
CREATE TABLE(Transact-SQL)