共用方式為


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