Delen via


ReplicationOptions Enumeration

The ReplicationOptions enumeration contains values that are used to specify the replication settings for the referenced database.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration ReplicationOptions
'Usage
Dim instance As ReplicationOptions
[FlagsAttribute]
public enum ReplicationOptions
[FlagsAttribute]
public enum class ReplicationOptions
[<FlagsAttribute>]
type ReplicationOptions
public enum ReplicationOptions

Members

Member name Description
None No replication options applied.
Published Value = 1. The database is published.
Subscribed Value = 2. The database is subscribed
MergePublished Value = 4. The database is merge published.
MergeSubscribed Value = 8. The database is merge subscribed.

Remarks

The ReplicationOptions enumeration class is served by the ReplicationOptions property.