TransArticle Constructor

Creates a new instance of the TransArticle class.

备注

已更新的文本: 2006 年 7 月 17 日

The following table shows the default property values for a new instance of TransArticle. Any properties that are not explicitly enumerated in this table are initialized to a null value.

Property

Default value

CachePropertyChanges

false

CommandFormat

A value of None for CommandOptions

DatatypeMappingOptions

A value of Default for ArticleDatatypeMappingOptions

DeleteCommand

CALL sp_MSdel_table1

IdentityRangeManagementOption

A value of Manual for IdentityRangeManagementOption

InsertCommand

CALL sp_MSins_table1

IsExistingObject

false

PreCreationMethod

A value of Drop for PreCreationOption

SchemaOption

A value of PrimaryObject for CreationScriptOptions

Type

A value of LogBased for ArticleOptions

UpdateCommand

SCALL sp_MSupd_table1

VerticalPartition

false

1 For more information, see 指定如何传播事务性项目的更改 and the @del_cmd, @ins_cmd, and @upd_cmd parameters of sp_addarticle (Transact-SQL).

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

重载列表

名称 Description
TransArticle ()
Creates a new instance of the TransArticle class.
TransArticle (String, String, String, ServerConnection)
Creates a new instance of the TransArticle class, with the required properties and with the specified connection to the instance of Microsoft SQL Server.

请参阅

参考

TransArticle Class
TransArticle Members
Microsoft.SqlServer.Replication Namespace