PreCreationOption 枚举

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(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Enumeration PreCreationOption
用法
Dim instance As PreCreationOption
public enum PreCreationOption
public enum class PreCreationOption
type PreCreationOption
public enum PreCreationOption

成员

成员名称 说明
None No action is taken on the existing table.
Drop A DROP TABLE statement is executed. This value is required to support SQL Server Compact Subscribers.
Delete A DELETE statement is executed to remove individual rows based on the WHERE clause in the subset filter.
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.

请参阅

参考

Microsoft.SqlServer.Replication 命名空间

Article