PreCreationOption Enumeration

Enumerates the commands that are executed prior to subscription initialization when a published table already exists in the subscription database.

命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

语法

声明
Public Enumeration PreCreationOption
public enum PreCreationOption
public enum class PreCreationOption
public enum PreCreationOption
public enum PreCreationOption

Members

Member name Description
Delete A DELETE statement is executed to remove individual rows based on the WHERE clause in the subset filter.
Drop A DROP TABLE statement is executed. This value is required to support Microsoft SQL Server 2005 Compact Edition Subscribers.
None No action is taken on the existing table.
Truncate A TRUNCATE TABLE statement is executed to remove all rows from the table.

备注

Drop is the default when creating new articles.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Replication Namespace
Article Class