Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.
The PublicationType property specifies treatment of data replicated from a Microsoft SQL Server or heterogeneous data source.
Syntax
object
.PublicationType [= value]
Parts
- object
An expression that evaluates to an object in the Applies To list.
- value
A long integer that specifies a type of replication publication as described in Settings.
Data Type
Long, enumerated
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetPublicationType(SQLDMO_PUBLICATION_TYPE* pRetVal);
HRESULT SetPublicationType(SQLDMO_PUBLICATION_TYPE NewValue);
Settings
| Constant | Value | Description |
|---|---|---|
SQLDMOPublication_Merge |
2 |
The referenced publication supports merge replication. |
SQLDMOPublication_Snapshot |
1 |
The referenced publication supports snapshot replication. |
SQLDMOPublication_Transactional |
0 |
The referenced publication supports transactional replication. |
SQLDMOPublication_Unknown |
1000 |
An error condition. No replication support can be determined for the referenced publication. |
Hinweise
SQL Server supports replicating data from heterogeneous data sources for instances of SQL Server. Set PublicationType to expose the composition of data. For example, when replicating an entire heterogeneous table with each synchronization, set PublicationType to SQLDMOPublication_Snapshot.