Freigeben über


ReplicationObject-Klasse

Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Mehr…

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8",  _
    Name := "Microsoft.SqlServer.Rmo")> _
Public MustInherit Class ReplicationObject
'Usage
Dim instance As ReplicationObject
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = "Microsoft.SqlServer.Rmo")]
public abstract class ReplicationObject
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = L"Microsoft.SqlServer.Rmo")]
public ref class ReplicationObject abstract
[<AbstractClassAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", 
    Name = "Microsoft.SqlServer.Rmo")>]
type ReplicationObject =  class end
public abstract class ReplicationObject

Der ReplicationObject-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ReplicationObject Creates a new instance of the ReplicationObject class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CachePropertyChanges Gets or sets whether to cache changes made to the replication properties or to apply them immediately.
Öffentliche Eigenschaft ConnectionContext Gets or sets the connection to an instance of Microsoft SQL Server.
Öffentliche Eigenschaft IsExistingObject Gets whether the object exists on the server or not.
Öffentliche Eigenschaft SqlServerName Gets the name of the Microsoft SQL Server instance to which this object is connected.
Öffentliche Eigenschaft UserData Gets or sets an object property that allows users to attach their own data to the object.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode CheckValidCreation Infrastruktur Checks the valid replication creation.
Geschützte Methode CheckValidDefinition Infrastruktur Indicates whether the definition is valid.
Öffentliche Methode CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server.
Öffentliche Methode Decouple Decouples the referenced replication object from the server.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode GetChangeCommand Infrastruktur Returns the change command from the replication.
Geschützte Methode GetCreateCommand Infrastruktur Returns the create command from the replication.
Geschützte Methode GetDropCommand Infrastruktur Returns the drop command from the replication.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode InternalRefresh Infrastruktur Initiates an internal refresh from the replication.
Öffentliche Methode Load Loads the properties of an existing object from the server.
Öffentliche Methode LoadProperties Loads the properties of an existing object from the server.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Refresh Reloads the properties of the object.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.AgentProfile
    Microsoft.SqlServer.Replication.Article
    Microsoft.SqlServer.Replication.DistributionArticle
    Microsoft.SqlServer.Replication.DistributionDatabase
    Microsoft.SqlServer.Replication.DistributionPublication
    Microsoft.SqlServer.Replication.DistributionPublisher
    Microsoft.SqlServer.Replication.DistributionSubscription
    Microsoft.SqlServer.Replication.MergeSubscriberMonitor
    Microsoft.SqlServer.Replication.Publication
    Microsoft.SqlServer.Replication.PublicationMonitor
    Microsoft.SqlServer.Replication.PublisherMonitor
    Microsoft.SqlServer.Replication.PullSubscription
    Microsoft.SqlServer.Replication.RegisteredSubscriber
    Microsoft.SqlServer.Replication.ReplicationDatabase
    Microsoft.SqlServer.Replication.ReplicationMonitor
    Microsoft.SqlServer.Replication.ReplicationServer
    Microsoft.SqlServer.Replication.ReplicationTable
    Microsoft.SqlServer.Replication.Subscription