共用方式為


ISnapshotGenerationAgent 介面

Provides an implementation of the SnapshotGenerationAgent class for late-bound COM clients.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
<GuidAttribute("238AB2B8-C0CA-47FC-9949-B67D516259BF")> _
<ComVisibleAttribute(True)> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
Public Interface ISnapshotGenerationAgent
'用途
Dim instance As ISnapshotGenerationAgent
[GuidAttribute("238AB2B8-C0CA-47FC-9949-B67D516259BF")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface ISnapshotGenerationAgent
[GuidAttribute(L"238AB2B8-C0CA-47FC-9949-B67D516259BF")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
public interface class ISnapshotGenerationAgent
[<GuidAttribute("238AB2B8-C0CA-47FC-9949-B67D516259BF")>]
[<ComVisibleAttribute(true)>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)>]
type ISnapshotGenerationAgent =  interface end
public interface ISnapshotGenerationAgent

ISnapshotGenerationAgent 型別公開下列成員。

屬性

  名稱 說明
公用屬性 AbortPolicy Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs.
公用屬性 BcpBatchSize Gets or set the number of rows to send to the Distributor in a bulk copy operation.
公用屬性 ComErrorCollection Gets the information on errors that occur during agent execution.
公用屬性 Distributor Gets or sets the name of the instance of SQL Server acting as the Distributor for the publication.
公用屬性 DistributorDeadlockPriority Gets or sets the priority of the Snapshot Agent connection to the Distributor when a deadlock occurs.
公用屬性 DistributorEncryptionLevel Gets of sets the level of Secure Sockets Layer (SSL) encryption used by the Snapshot Agent when connecting to the Distributor.
公用屬性 DistributorLogin Gets or sets the login name used when connecting locally to the Distributor using SQL Server Authentication.
公用屬性 DistributorNetworkLibrary Gets or sets the distributor network library.
公用屬性 DistributorPassword Sets the password used when connecting locally to the Distributor using SQL Server Authentication.
公用屬性 DistributorSecurityMode Gets or sets the security mode used when connecting locally to the Distributor.
公用屬性 DynamicFilterHostName Gets or sets the value supplied to the HOST_NAME function used in a parameterized row filter.
公用屬性 DynamicFilterLogin Gets or sets the value supplied to the SUSER_SNAME function used in a parameterized row filter.
公用屬性 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.
公用屬性 FieldDelimiter Gets or sets the character or character sequence that marks the end of a field in the SQL Server bulk-copy data file.
公用屬性 HistoryVerboseLevel Gets or sets the amount of history logged during agent execution.
公用屬性 LoginTimeout Get or sets the number of seconds before the login times out for connections made by the agent.
公用屬性 MaxBcpThreads Gets or sets the number of bulk copy operations that can be performed in parallel.
公用屬性 MaxNetworkOptimization Gets or sets whether out-of-partition deletes are sent to the Subscriber.
公用屬性 Output Get or sets the name and path of the agent output file.
公用屬性 OutputVerboseLevel Gets or sets the level of detail of information written to the agent output file.
公用屬性 PacketSize Gets or sets the packet size associated with the agent.
公用屬性 ProfileName Gets or sets an agent profile to use when running the agent.
公用屬性 Publication Gets or sets the name of the publication.
公用屬性 Publisher Gets or sets the name of the instance of SQL Server that is the Publisher.
公用屬性 PublisherDatabase Gets or sets the name of the publication database.
公用屬性 PublisherDeadlockPriority Gets or sets the priority of the Snapshot Agent connection to the Publisher when a deadlock occurs.
公用屬性 PublisherEncryptionLevel Gets of sets the level of Secure Sockets Layer (SSL) encryption used by the Snapshot Agent when connecting to the Distributor.
公用屬性 PublisherLogin Gets or sets the login name used when connecting to the Publisher using SQL Server Authentication.
公用屬性 PublisherNetworkLibrary Gets or sets the publisher network library.
公用屬性 PublisherSecurityMode Gets or sets the security mode used when connecting to the Publisher.
公用屬性 QueryTimeout Get or sets the number of seconds before a query times out.
公用屬性 ReplicationType Gets or sets the type of publication.
公用屬性 RowDelimiter Gets or sets the character or character sequence that marks the end of a row in the SQL Server bulk-copy data file.
公用屬性 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.
公用屬性 Supports70Subscribers Gets or sets whether the generated snapshot supports SQL Server 7.0 Subscribers.

上層

方法

  名稱 說明
公用方法 Abort Aborts the agent operation.
公用方法 GenerateSnapshot Starts the Snapshot Agent to generate the snapshot.
公用方法 ResetParametersToDefault Restores the parameters to its default value.

上層

備註

See SnapshotGenerationAgent for information on members of ISnapshotGenerationAgent.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間