Share via


NotForReplication propriété

Gets or sets a Boolean property value that specifies whether the database data definition language (DDL) trigger is available for replication.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property NotForReplication As Boolean
    Get
    Set
'Utilisation
Dim instance As DatabaseDdlTrigger
Dim value As Boolean

value = instance.NotForReplication

instance.NotForReplication = value
[SfcPropertyAttribute]
public bool NotForReplication { get; set; }
[SfcPropertyAttribute]
public:
property bool NotForReplication {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member NotForReplication : bool with get, set
function get NotForReplication () : boolean
function set NotForReplication (value : boolean)

Valeur de la propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether the database DDL trigger is available for replication.
If True, the database DDL trigger cannot be used by replication services. Otherwise, False (default).

Notes

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

This property is not supported after SQL Server 2005.