共用方式為


SnapshotGenerationAgent Members

Provides the functionality of the Replication Snapshot Agent.

The following tables list the members exposed by the SnapshotGenerationAgent type.

Public Constructors

  名稱 Description
SnapshotGenerationAgent Creates an instance of the SnapshotGenerationAgent class.

頂端

Public Properties

  名稱 Description
ms150049.pubproperty(zh-tw,SQL.90).gif AbortPolicy  Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif BcpBatchSize Gets or set the number of rows to send to the Distributor in a bulk copy operation.
ms150049.pubproperty(zh-tw,SQL.90).gif ComErrorCollection  Returns information on errors that occur during agent execution. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif Distributor Gets or sets the name of the instance of SQL Server acting as the Distributor for the publication.
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorDeadlockPriority Gets or sets the priority of the Snapshot Agent connection to the Distributor when a deadlock occurs.
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorEncryptedPassword  
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorEncryptionLevel Gets of sets the level of Secure Sockets Layer (SSL) encryption used by the Snapshot Agent when connecting to the Distributor.
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorLogin Gets or sets the login name used when connecting locally to the Distributor using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorNetworkLibrary  
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorPassword Sets the password used when connecting locally to the Distributor using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif DistributorSecurityMode Gets or sets the security mode used when connecting locally to the Distributor.
ms150049.pubproperty(zh-tw,SQL.90).gif DynamicFilterHostName Gets or sets the value supplied to the HOST_NAME function used in a parameterized row filter.
ms150049.pubproperty(zh-tw,SQL.90).gif DynamicFilterLogin Gets or sets the value supplied to the SUSER_SNAME function used in a parameterized row filter.
ms150049.pubproperty(zh-tw,SQL.90).gif DynamicSnapshotLocation Gets or sets the location of the partitioned snapshot for a subscription to a merge publication that is defined based-on a parameterized row filter.
ms150049.pubproperty(zh-tw,SQL.90).gif FieldDelimiter Gets or sets the character or character sequence that marks the end of a field in the SQL Server bulk-copy data file.
ms150049.pubproperty(zh-tw,SQL.90).gif FlatExceptionCollection  (inherited from AgentCore )
ms150049.pubproperty(zh-tw,SQL.90).gif HistoryVerboseLevel  Gets or sets the amount of history logged during agent execution. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif HRBcpBlocks  
ms150049.pubproperty(zh-tw,SQL.90).gif HRBcpBlockSize  
ms150049.pubproperty(zh-tw,SQL.90).gif HRBcpDynamicBlocks  
ms150049.pubproperty(zh-tw,SQL.90).gif LoginTimeout  Get or sets the number of seconds before the login times out for connections made by the agent. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif MaxBcpThreads Gets or sets the number of bulk copy operations that can be performed in parallel.
ms150049.pubproperty(zh-tw,SQL.90).gif MaxNetworkOptimization Gets or sets whether out-of-partition deletes are sent to the Subscriber.
ms150049.pubproperty(zh-tw,SQL.90).gif OnetimeDynamicSnapshot  
ms150049.pubproperty(zh-tw,SQL.90).gif Output  Get or sets the name and path of the agent output file. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif OutputVerboseLevel  Gets or sets the level of detail of information written to the agent output file. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif PacketSize  (inherited from AgentCore )
ms150049.pubproperty(zh-tw,SQL.90).gif ProfileName  Gets or sets an agent profile to use when running the agent. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif Publication Gets or sets the name of the publication.
ms150049.pubproperty(zh-tw,SQL.90).gif Publisher Gets or sets the name of the instance of SQL Server that is the Publisher.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherDatabase Gets or sets the name of the publication database.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherDeadlockPriority Gets or sets the priority of the Snapshot Agent connection to the Publisher when a deadlock occurs.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherEncryptedPassword  
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherEncryptionLevel Gets of sets the level of Secure Sockets Layer (SSL) encryption used by the Snapshot Agent when connecting to the Distributor.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherFailoverPartner  Gets or sets the failover partner instance of SQL Server participating in a database mirroring session with the publication database. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherLogin Gets or sets the login name used when connecting to the Publisher using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherNetworkLibrary  
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherPassword Sets the password used when connecting to the Publisher using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif PublisherSecurityMode Gets or sets the security mode used when connecting to the Publisher.
ms150049.pubproperty(zh-tw,SQL.90).gif QueryTimeout  Get or sets the number of seconds before a query times out. (inherited from AgentCore)
ms150049.pubproperty(zh-tw,SQL.90).gif ReplicationType Gets or sets the type of publication.
ms150049.pubproperty(zh-tw,SQL.90).gif RowDelimiter Gets or sets the character or character sequence that marks the end of a row in the SQL Server bulk-copy data file.
ms150049.pubproperty(zh-tw,SQL.90).gif SecureDistributorEncryptedPassword  
ms150049.pubproperty(zh-tw,SQL.90).gif SecureDistributorPassword Sets the password (as a SecureString object) used when connecting locally to the Distributor using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif SecurePublisherEncryptedPassword  
ms150049.pubproperty(zh-tw,SQL.90).gif SecurePublisherPassword Sets the password (as a SecureString object) used when connecting to the Publisher using SQL Server Authentication.
ms150049.pubproperty(zh-tw,SQL.90).gif StartQueueTimeout Gets or sets the time that the Snapshot Agent waits when the maximum number of concurrent partitioned snapshot processes for a merge publication are already running.
ms150049.pubproperty(zh-tw,SQL.90).gif Supports70Subscribers Gets or sets whether the generated snapshot supports SQL Server 7.0 Subscribers.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms150049.pubmethod(zh-tw,SQL.90).gif Abort  (inherited from AgentCore )
ms150049.pubmethod(zh-tw,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms150049.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms150049.pubmethod(zh-tw,SQL.90).gif GenerateSnapshot Starts the Snapshot Agent to generate the snapshot.
ms150049.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms150049.pubmethod(zh-tw,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms150049.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms150049.pubmethod(zh-tw,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms150049.pubmethod(zh-tw,SQL.90).gifms150049.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms150049.pubmethod(zh-tw,SQL.90).gif ResetParametersToDefault  (inherited from AgentCore )
ms150049.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms150049.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms150049.protmethod(zh-tw,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

頂端

Public Events

  名稱 Description
ms150049.pubevent(zh-tw,SQL.90).gif ComStatus  (inherited from AgentCore )
ms150049.pubevent(zh-tw,SQL.90).gif Status  Occurs when a running agent returns status information. (inherited from AgentCore)

頂端

Explicit Interface Implementations

  名稱 Description
Microsoft.SqlServer.Replication.ISnapshotGenerationAgent.ResetParametersToDefault  

頂端

請參閱

參考

SnapshotGenerationAgent Class
Microsoft.SqlServer.Replication Namespace

其他資源

How to: Create the Initial Snapshot (RMO Programming)
How to: Create a Snapshot for a Merge Publication with Parameterized Filters (RMO Programming)
Replication Snapshot Agent