Share via


CreateForeignKey Method (String)

Namespace:  Microsoft.Data.Tools.Model.Relational
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
Function CreateForeignKey ( _
    name As String _
) As IForeignKey
'Usage
Dim instance As ITable
Dim name As String
Dim returnValue As IForeignKey

returnValue = instance.CreateForeignKey(name)
IForeignKey CreateForeignKey(
    string name
)
IForeignKey^ CreateForeignKey(
    String^ name
)
abstract CreateForeignKey : 
        name:string -> IForeignKey 
function CreateForeignKey(
    name : String
) : IForeignKey

Parameters

Return Value

Type: Microsoft.Data.Tools.Model.Relational..::..IForeignKey

See Also

Reference

ITable Interface

CreateForeignKey Overload

Microsoft.Data.Tools.Model.Relational Namespace