Microsoft.SQLServer.Replication.Library.GenericPublication通用发布

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

通用发布。

Knowledge Base article:

摘要

所有发布版本的通用实现。

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 (CHS) Description (CHS) Key Max Length Min Length Case Sensitive Default Value EnumType
System.Entity:
DisplayName  string  显示名称 对象的显示名称。 false 4000  False     
System.ConfigItem:
ObjectStatus  enum  对象状态 对象状态 false 256    System.ConfigItem.ObjectStatusEnum.Active  System.ConfigItem.ObjectStatusEnum 
AssetStatus  enum  资产状态 资产状态 false 256      System.ConfigItem.AssetStatusEnum 
Notes  richtext  说明 说明 false 4000       
Microsoft.SQLServer.Replication.Library.GenericPublication:
PublicationName  string  发布名称 实例名称: [SubscriptionName] true 256  False     
Database  string  发布数据库 数据库 false 256  False     
Description  string  发布说明 说明 false 256  False     
Type  string  发布类型 类型 false 256  False     
SubscriptionExpiration  bool  订阅过期 如果“保持期”为零,则为 false false 256       
ExpirationInterval  string  过期间隔 “保留期”字段,通常为“小时”,合并为“天” false 256  False     
SnapshotFormat  string  快照格式 “同步方法”: 0 - 本机,1 - 字符 false 256  False     
LocationOfSnapshotFiles  string  快照文件的位置
"alt_snapshot_folder",适用于替代位置
"snapshot_in_defaultfolder",适用于“使用默认文件夹”
Sp_help_distributor."directory",适用于默认文件夹。
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>