Microsoft.SQLServer.Replication.Core.GenericPublicationMSSQL: Generic Replication Publication

Microsoft.SQLServer.Replication.Core.GenericPublication (ClassType)

Generic Publication.

Knowledge Base article:

Summary

A generic implementation for all Publication versions.

Element properties:

Base ClassSystem.Entity
AbstractTrue
HostedFalse
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId2fdd0e39-610d-2ffd-3e3a-e60599931164

Class Hierarchy:

Class Properties:

Property Name Type Display Name (ENU) Description (ENU) Key Max Length Min Length Case Sensitive
System.Entity:
DisplayName  string  Display Name Display name of the object. false 4000  False 
Microsoft.SQLServer.Replication.Core.GenericPublication:
PublicationName  string  Publication Name Instance name: [SubscriptionName] true 256  False 
Database  string  Publication Database Database false 256  False 
Description  string  Publication Description Description false 256  False 
Type  string  Publication Type Type false 256  False 
SubscriptionExpiration  bool  Subscription Expiration If “retention” is zero - false false 256   
ExpirationInterval  string  Expiration Interval “retention” field, hours for usual, days for merge false 256  False 
SnapshotFormat  string  Snapshot Format “synchronization method”: 0 – native, 1 - character false 256  False 
LocationOfSnapshotFiles  string  Location of Snapshot Files
“alt_snapshot_folder” for alternative location
“snapshot_in_defaultfolder” for “use default folder”
Sp_help_distributor.”directory” for default folder.
false 260  False 

Health Model:

Source Code:

<ClassType ID="Microsoft.SQLServer.Replication.Core.GenericPublication" Base="System!System.Entity" Accessibility="Public" Abstract="true" Hosted="false" Singleton="false">
<Property ID="PublicationName" Type="string" Key="true"/>
<Property ID="Database" Type="string" Key="false"/>
<Property ID="Description" Type="string" Key="false"/>
<Property ID="Type" Type="string" Key="false"/>
<Property ID="SubscriptionExpiration" Type="bool" Key="false"/>
<Property ID="ExpirationInterval" Type="string" Key="false"/>
<Property ID="SnapshotFormat" Type="string" Key="false"/>
<Property ID="LocationOfSnapshotFiles" Type="string" Key="false" MaxLength="260"/>
</ClassType>