Share via


Article 클래스

Represents the base class from which the TransArticle class and MergeArticle class are derived.

상속 계층

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.Article
      Microsoft.SqlServer.Replication.MergeArticle
      Microsoft.SqlServer.Replication.TransArticle

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8",  _
    Name := "Microsoft.SqlServer.Rmo")> _
Public MustInherit Class Article _
    Inherits ReplicationObject
‘사용 방법
Dim instance As Article
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = "Microsoft.SqlServer.Rmo")]
public abstract class Article : ReplicationObject
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = L"Microsoft.SqlServer.Rmo")]
public ref class Article abstract : public ReplicationObject
[<AbstractClassAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = "Microsoft.SqlServer.Rmo")>]
type Article =  
    class 
        inherit ReplicationObject 
    end
public abstract class Article extends ReplicationObject

Article 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
보호된 메서드 Article Initializes a new instance of the Article class.

맨 위로 이동

속성

  이름 설명
공용 속성 ArticleId Gets the article ID value.
공용 속성 CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (ReplicationObject에서 상속됨)
공용 속성 ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
보호된 속성 CreateArticleAsHeterogeneous Gets or sets a value that indicates whether to create an article as heterogeneous.
공용 속성 CreationScript Gets or sets the name and full path of the Transact-SQL script file that is used to create the destination object at the Subscriber.
공용 속성 DatabaseName Gets or sets the name of the database that contains the data and the objects that are published in the article.
공용 속성 Description Gets or sets a textual description of the article.
공용 속성 DestinationObjectName Gets or sets the database object that is the source database object for the article at the Subscriber.
공용 속성 DestinationObjectOwner Gets or sets the schema owner of the source database object for the article at the Subscriber.
공용 속성 IdentityRangeManagementOption Gets or sets the identity range management options for the article.
공용 속성 IdentityRangeThreshold Gets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber.
공용 속성 IsExistingObject Gets whether the object exists on the server or not. (ReplicationObject에서 상속됨)
공용 속성 Name Gets or sets the name of the article.
공용 속성 PreCreationMethod Gets or sets the action to take when the published object already exists in the subscription database.
공용 속성 PublicationName Gets or sets the name of the publication to which the article belongs.
공용 속성 PublisherIdentityRangeSize For a TransArticle object, gets or sets the range of identity values assigned to table columns at the Publisher. For a MergeArticle object, gets or sets the range of identity values assigned to table columns at Subscribers that have server subscriptions.
공용 속성 SchemaOption Gets or sets the schema creation options for an article.
공용 속성 SourceObjectName Gets or sets the name of the database object that is being published.
공용 속성 SourceObjectOwner Gets or sets the owner of the database object that is being published.
공용 속성 SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected. (ReplicationObject에서 상속됨)
공용 속성 SubscriberIdentityRangeSize Gets or sets the maximum number of new rows that can be inserted into an identity column in a table at a Subscriber before another identity range must be allocated.
공용 속성 Type Gets or sets the type of article.
공용 속성 UserData Gets or sets an object property that allows users to attach their own data to the object. (ReplicationObject에서 상속됨)
공용 속성 VerticalPartition Gets a value that indicates whether all columns are published in a table article.

맨 위로 이동

메서드

  이름 설명
보호된 메서드 CheckValidCreation 인프라입니다. Checks the valid article creation. (ReplicationObject.CheckValidCreation()을(를) 재정의함)
보호된 메서드 CheckValidDefinition 인프라입니다. Indicates whether the definition is valid. (ReplicationObject.CheckValidDefinition(Boolean)을(를) 재정의함)
공용 메서드 CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
공용 메서드 Create Creates a new article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
공용 메서드 Decouple Decouples the referenced replication object from the server. (ReplicationObject에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 GetChangeCommand 인프라입니다. Returns the change command from the replication. (ReplicationObject에서 상속됨)
보호된 메서드 GetCreateCommand 인프라입니다. Returns the create command from the replication. (ReplicationObject에서 상속됨)
보호된 메서드 GetDropCommand 인프라입니다. Returns the drop command from the replication. (ReplicationObject에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 InternalRefresh 인프라입니다. Initiates an internal refresh from the replication. (ReplicationObject에서 상속됨)
공용 메서드 Load Loads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
공용 메서드 LoadProperties Loads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Refresh Reloads the properties of the object. (ReplicationObject에서 상속됨)
공용 메서드 Remove Removes an existing article on the currently connected instance of SQL Server based on the current properties of the TransArticle object or the MergeArticle object.
공용 메서드 Script Generates a Transact-SQL script that can be executed to create or delete the TransArticle object or the MergeArticle object on the server.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

The Article class represents article properties and behaviors that are common to articles published in transactional and merge replication topologies.

Articles published from a non-SQL Server Publisher are represented by the DistributionArticle class.

Thread Safety

Public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

방법: 아티클 정의(RMO 프로그래밍)

방법: 아티클 삭제(RMO 프로그래밍)

방법: 아티클 속성 보기 및 수정(RMO 프로그래밍)