다음을 통해 공유


Column.EnumForeignKeys 메서드

Enumerates a list of foreign keys that reference the column.

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

구문

‘선언
Public Function EnumForeignKeys As DataTable
‘사용 방법
Dim instance As Column 
Dim returnValue As DataTable 

returnValue = instance.EnumForeignKeys()
public DataTable EnumForeignKeys()
public:
DataTable^ EnumForeignKeys()
member EnumForeignKeys : unit -> DataTable
public function EnumForeignKeys() : DataTable

반환 값

유형: System.Data.DataTable
A DataTable object value that contains information about the foreign keys that reference the column. The table describes the different columns of the returned DataTable.

Column

Data type

Description

Column

String

The name of the column.

Table_Schema

String

The schema that is associated with the table that contains the column.

Table_Name

String

The name of the table that contains the column.

Name

String

The name of the foreign key.

데이터베이스 개체 작업

참고 항목

참조

Column 클래스

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