다음을 통해 공유


ForeignKey.Alter 메서드

Updates any ForeignKey object property changes on instance of SQL Server. 

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

구문

‘선언
Public Sub Alter
‘사용 방법
Dim instance As ForeignKey

instance.Alter()
public void Alter()
public:
virtual void Alter() sealed
abstract Alter : unit -> unit  
override Alter : unit -> unit
public final function Alter()

구현

IAlterable.Alter()

주의

The Alter method updates any changes that have been made to the ForeignKey object's properties since the ForeignKey object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip.

외래 키 생성, 변경 및 제거

참고 항목

참조

ForeignKey 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

FOREIGN KEY 제약 조건 만들기 및 수정

CREATE TABLE(Transact-SQL)