Dela via


AddColumnOption Enumeration

Enumerates the options for adding a column to a table published in an existing publication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Enumeration AddColumnOption
'Usage
Dim instance As AddColumnOption
public enum AddColumnOption
public enum class AddColumnOption
type AddColumnOption
public enum AddColumnOption

Members

Member name Description
All Include the newly added column to all existing publications in which the underlying table is published.
None Do not include the newly added column to any publication in which the underlying table is published.
Some Include the newly added column only to specified publications.

Remarks

You use these options for adding a column to a published table when the publication or Subscribers to the publication do not support replication of schema changes. For more information, see Make Schema Changes on Publication Databases.

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

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Reference

Microsoft.SqlServer.Replication Namespace