Udostępnij za pośrednictwem


PreCreationOption Enum

Definition

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

public enum class PreCreationOption
public enum PreCreationOption
type PreCreationOption = 
Public Enum PreCreationOption
Inheritance
PreCreationOption

Fields

Name Value Description
None 0

No action is taken on the existing table.

Drop 1

A DROP TABLE statement is executed. This value is required to support SQL Server Compact Subscribers.

Delete 2

A DELETE statement is executed to remove individual rows based on the WHERE clause in the subset filter.

Truncate 3

A TRUNCATE TABLE statement is executed to remove all rows from the table.

Remarks

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.

Applies to

See also