NotForReplication 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property NotForReplication As Boolean
    Get
    Set
用法
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)

属性值

类型: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).

注释

后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

This property is not supported after SQL Server 2005.

示例

设置属性