Udostępnij za pośrednictwem


MergePublication.ReadLastValidationDateTimes(String, String) Method

Definition

Returns information about the most recent subscription validation for a Subscriber.

public:
 Microsoft::SqlServer::Replication::LastValidationDateTime ^ ReadLastValidationDateTimes(System::String ^ subscriber, System::String ^ subscriptionDB);
public Microsoft.SqlServer.Replication.LastValidationDateTime ReadLastValidationDateTimes (string subscriber, string subscriptionDB);
member this.ReadLastValidationDateTimes : string * string -> Microsoft.SqlServer.Replication.LastValidationDateTime
Public Function ReadLastValidationDateTimes (subscriber As String, subscriptionDB As String) As LastValidationDateTime

Parameters

subscriber
String

The Subscriber name.

subscriptionDB
String

The subscription database name.

Returns

The date and time of the last merge subscription validation.

Remarks

The ReadLastValidationDateTimes method can only be called by members of the db_owner fixed database role on the publication database.

Applies to