/// <summary> /// Registers this ConfigurationService's Session and SourceUniqueId with the specified IHighWaterMark. /// </summary> /// <param name="highWaterMark">The HighWaterMark object with which to register this ConfigurationService</param> /// <seealso cref="Microsoft.TeamFoundation.Migration.Toolkit.HighWaterMark<T>"/> /// <seealso cref="Microsoft.TeamFoundation.Migration.Toolkit.IHighWaterMark"/> public void RegisterHighWaterMarkWithSession(IHighWaterMark highWaterMark, Guid migrationPeer) { highWaterMark.SessionUniqueId = new Guid(m_session.SessionUniqueId); highWaterMark.SourceUniqueId = migrationPeer; }
/// <summary> /// Registers this ConfigurationService's Session and SourceUniqueId with the specified IHighWaterMark. /// </summary> /// <param name="highWaterMark">The HighWaterMark object with which to register this ConfigurationService</param> /// <seealso cref="Microsoft.TeamFoundation.Migration.Toolkit.HighWaterMark<T>"/> /// <seealso cref="Microsoft.TeamFoundation.Migration.Toolkit.IHighWaterMark"/> public void RegisterHighWaterMarkWithSession(IHighWaterMark highWaterMark) { highWaterMark.SessionUniqueId = new Guid(m_session.SessionUniqueId); highWaterMark.SourceUniqueId = m_sourceId; }