Export (0) Print
Expand All

Publication Methods

The Publication type exposes the following members.

  Name Description
Protected method CheckValidCreation Infrastructure. Checks the valid replication creation. (Inherited from ReplicationObject.)
Protected method CheckValidDefinition Infrastructure. Indicates whether to check valid definition. (Overrides ReplicationObject.CheckValidDefinition(Boolean).)
Public method CommitPropertyChanges Sends all the cached property change statements to the instance of Microsoft SQL Server. (Inherited from ReplicationObject.)
Public method Create Creates the publication.
Public method CreateSnapshotAgent Creates the SQL Server Agent job that is used to generate the initial snapshot for the publication, if this job does not already exist.
Public method Decouple Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)
Public method EnumArticles Returns the articles in the publication.
Public method EnumPublicationAccesses Returns logins that have access to the Publisher.
Public method EnumSubscriptions Returns the subscriptions that subscribe to the publication.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetChangeCommand Infrastructure. Returns the change command from the replication. (Inherited from ReplicationObject.)
Protected method GetCreateCommand Infrastructure. Returns the create command from the replication. (Inherited from ReplicationObject.)
Protected method GetDropCommand Infrastructure. Returns the drop command from the replication. (Inherited from ReplicationObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GrantPublicationAccess Adds the specified login to the publication access list (PAL).
Protected method InternalRefresh Infrastructure. Initiates an internal refresh from the replication. (Inherited from ReplicationObject.)
Public method Load Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Public method LoadProperties Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Refresh Reloads the properties of the object. (Inherited from ReplicationObject.)
Public method Remove() Removes an existing publication.
Public method Remove(Boolean) Removes an existing publication even if the Distributor cannot be accessed.
Public method ReplicateUserDefinedScript Replicates the execution of a user-defined script to the Subscribers of a specified publication.
Public method RevokePublicationAccess Removes the specified login from the publication access list (PAL).
Public method Script Generates a Transact-SQL script that can be used to re-create the publication as specified by the script options.
Public method StartSnapshotGenerationAgentJob Starts the job that generates the initial snapshot for the publication.
Public method StopSnapshotGenerationAgentJob Attempts to stop a running Snapshot Agent job.
Public method ToString (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft