Класс ReplicationObject
Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.
Иерархия наследования
System.Object
Microsoft.SqlServer.Replication.ReplicationObject
Подробнее...
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8", _
Name := "Microsoft.SqlServer.Rmo")> _
Public MustInherit Class ReplicationObject
'Применение
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
Тип ReplicationObject обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ReplicationObject | Creates a new instance of the ReplicationObject class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. | |
ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. | |
IsExistingObject | Gets whether the object exists on the server or not. | |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. | |
UserData | Gets or sets an object property that allows users to attach their own data to the object. |
В начало
Методы
Имя | Описание | |
---|---|---|
CheckValidCreation | Инфраструктура. Checks the valid replication creation. | |
CheckValidDefinition | Инфраструктура. Indicates whether the definition is valid. | |
CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. | |
Decouple | Decouples the referenced replication object from the server. | |
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
GetChangeCommand | Инфраструктура. Returns the change command from the replication. | |
GetCreateCommand | Инфраструктура. Returns the create command from the replication. | |
GetDropCommand | Инфраструктура. Returns the drop command from the replication. | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
InternalRefresh | Инфраструктура. Initiates an internal refresh from the replication. | |
Load | Loads the properties of an existing object from the server. | |
LoadProperties | Loads the properties of an existing object from the server. | |
MemberwiseClone | (Производный от Object.) | |
Refresh | Reloads the properties of the object. | |
ToString | (Производный от Object.) |
В начало
Замечания
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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Replication
Иерархия наследования
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