Dela via


ForeignKey.ReferencedTableSchema Property

Gets or sets the table schema that contains the primary key referenced by the foreign key.

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 ReferencedTableSchema As String
    Get
    Set
'Usage
Dim instance As ForeignKey
Dim value As String

value = instance.ReferencedTableSchema

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

Property Value

Type: System.String
A String value that specifies the referenced table schema.