Partager via


Propriété ForeignKeyColumn.ReferencedColumn

Gets or sets the referenced column.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ReferencedColumn As String 
    Get 
    Set
'Utilisation
Dim instance As ForeignKeyColumn 
Dim value As String 

value = instance.ReferencedColumn

instance.ReferencedColumn = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string ReferencedColumn { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ ReferencedColumn {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member ReferencedColumn : string with get, set
function get ReferencedColumn () : String 
function set ReferencedColumn (value : String)

Valeur de propriété

Type : System.String
A String value that specifies the referenced column.

Exemples

Création, modification et suppression de clés étrangères

Voir aussi

Référence

ForeignKeyColumn Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Création et modification des contraintes FOREIGN KEY

CREATE TABLE (Transact-SQL)