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.