Перечисление 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