Microsoft.SQLServer.Replication.Library.GenericPublicationGeneric Publication

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

Generic Publication.

Knowledge Base article:

Summary

A generic implementation for all publication versions.

Element properties:

Base ClassMicrosoft.Windows.ApplicationComponent
AbstractTrue
HostedFalse
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId0d247071-3c54-55b6-d86b-1fcf123a497b

Class Hierarchy:

Class Properties:

Property Name Type Display Name (ENU) Description (ENU) Key Max Length Min Length Case Sensitive Default Value EnumType
System.Entity:
DisplayName  string  Display Name Display name of the object. false 4000  False     
System.ConfigItem:
ObjectStatus  enum  Object Status Object status false 256    System.ConfigItem.ObjectStatusEnum.Active  System.ConfigItem.ObjectStatusEnum 
AssetStatus  enum  Asset Status Asset status false 256      System.ConfigItem.AssetStatusEnum 
Notes  richtext  Notes Notes false 4000       
Microsoft.SQLServer.Replication.Library.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.Library.GenericPublication" Base="Windows!Microsoft.Windows.ApplicationComponent" 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>