다음을 통해 공유


MergePublication.ReadLastValidationDateTimes 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Function ReadLastValidationDateTimes ( _
    subscriber As String, _
    subscriptionDB As String _
) As LastValidationDateTime
‘사용 방법
Dim instance As MergePublication 
Dim subscriber As String 
Dim subscriptionDB As String 
Dim returnValue As LastValidationDateTime 

returnValue = instance.ReadLastValidationDateTimes(subscriber, _
    subscriptionDB)
public LastValidationDateTime ReadLastValidationDateTimes(
    string subscriber,
    string subscriptionDB
)
public:
LastValidationDateTime^ ReadLastValidationDateTimes(
    String^ subscriber, 
    String^ subscriptionDB
)
member ReadLastValidationDateTimes : 
        subscriber:string * 
        subscriptionDB:string -> LastValidationDateTime
public function ReadLastValidationDateTimes(
    subscriber : String, 
    subscriptionDB : String
) : LastValidationDateTime

매개 변수

  • subscriptionDB
    유형: System.String
    The subscription database name.

반환 값

유형: Microsoft.SqlServer.Replication.LastValidationDateTime
The date and time of the last merge subscription validation.

주의

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

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스