Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the referenced column.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ReferencedColumn As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that specifies the referenced column.
Examples
Creating, Altering, and Removing Foreign Keys
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace