ForeignKey.ScriptReferencedTable Propiedad
Gets or sets the Boolean value that specifies whether to script the table referenced by the foreign key.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property ScriptReferencedTable As String
Get
Set
'Uso
Dim instance As ForeignKey
Dim value As String
value = instance.ScriptReferencedTable
instance.ScriptReferencedTable = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string ScriptReferencedTable { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ ScriptReferencedTable {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member ScriptReferencedTable : string with get, set
function get ScriptReferencedTable () : String
function set ScriptReferencedTable (value : String)
Valor de la propiedad
Tipo: System.String
A Boolean value that specifies whether to script the table referenced by the foreign key.If True, the table referenced in the foreign key is included in scripting operations.If False (default), no attempt is made to include the table referenced by the foreign key in scripting operations.
Ejemplos
Crear, modificar y eliminar las claves externas
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo