Share via


IForeignKeyConstraint.NotForReplication Property

Gets a value that indicates whether the FOREIGN KEY constraint is available for replication.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property NotForReplication As Boolean
    Get
'Usage
Dim instance As IForeignKeyConstraint
Dim value As Boolean

value = instance.NotForReplication
bool NotForReplication { get; }
property bool NotForReplication {
    bool get ();
}
abstract NotForReplication : bool
function get NotForReplication () : boolean

Property Value

Type: System.Boolean
true if the FOREIGN KEY constraint is available for replication; otherwise, false.