Share via


MergeSubscriberMonitor.RefreshSessionSummary Method

Definition

Refreshes Merge Agent session information from the Subscriber.

Overloads

RefreshSessionSummary(DataRow)

Refreshes information in a DataRow object that represents a specific Merge Agent session.

RefreshSessionSummary(MergeSessionSummary)

Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

RefreshSessionSummary(DataRow)

Refreshes information in a DataRow object that represents a specific Merge Agent session.

public:
 void RefreshSessionSummary(System::Data::DataRow ^ % drRefresh);
public void RefreshSessionSummary (ref System.Data.DataRow drRefresh);
member this.RefreshSessionSummary : DataRow -> unit
Public Sub RefreshSessionSummary (ByRef drRefresh As DataRow)

Parameters

drRefresh
DataRow

DataRow object is the session to be refreshed.

Exceptions

Occurs when the passed DataRow object is null or empty.

Remarks

RefreshSessionSummary(DataRow) refreshes session information in the passed DataRow object.

Calling the RefreshSessionSummary method is equivalent to executing sp_replmonitorhelpmergesession (Transact-SQL) at the Subscriber.

The RefreshSessionSummary method can be executed by members of the db_owner or replmonitor fixed database roles in the distribution database, when connected to the Distributor, or in the subscription database, when connected to the Subscriber.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See also

Applies to

RefreshSessionSummary(MergeSessionSummary)

Refreshes information in a MergeSessionSummary object that represents a specific Merge Agent session.

public:
 void RefreshSessionSummary(Microsoft::SqlServer::Replication::MergeSessionSummary ^ % mss);
public void RefreshSessionSummary (ref Microsoft.SqlServer.Replication.MergeSessionSummary mss);
member this.RefreshSessionSummary : MergeSessionSummary -> unit
Public Sub RefreshSessionSummary (ByRef mss As MergeSessionSummary)

Parameters

mss
MergeSessionSummary

A MergeSessionSummary object that is the session to be refreshed.

Exceptions

Occurs when the passed MergeSessionSummary object is null or empty.

Remarks

RefreshSessionSummary(MergeSessionSummary) refreshes session information in the passed MergeSessionSummary object.

Calling the RefreshSessionSummary method is equivalent to executing sp_replmonitorhelpmergesession (Transact-SQL) at the Subscriber.

The RefreshSessionSummary method can be executed by members of the db_owner or replmonitor fixed database roles in the distribution database, when connected to the Distributor, or in the subscription database, when connected to the Subscriber.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See also

Applies to