Compartilhar via


Propriedade do RDL ForeignKey.ReferencedTableSchema

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property ReferencedTableSchema As String 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Exemplos

Criando, alterando e removendo chaves estrangeiras

Consulte também

Referência

ForeignKey Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Criando e modificando restrições FOREIGN KEY

CREATE TABLE (Transact-SQL)