// Reset all change-tracking status for all properties on the object to "unchanged". internal override void ResetAllChangeStatus() { GlobalDebug.WriteLineIf(GlobalDebug.Info, "Computer", "ResetAllChangeStatus"); _servicePrincipalNames.ResetTracking(); base.ResetAllChangeStatus(); }
// Reset all change-tracking status for all properties on the object to "unchanged". internal void ResetAllChangeStatus() { GlobalDebug.WriteLineIf(GlobalDebug.Info, "AccountInfo", "ResetAllChangeStatus"); _permittedWorkstations.ResetTracking(); _permittedLogonTimesOriginal = (_permittedLogonTimes != null) ? (byte[])_permittedLogonTimes.Clone() : null; _expirationDateChanged = (_expirationDateChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; _smartcardLogonRequiredChanged = (_smartcardLogonRequiredChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; _delegationPermittedChanged = (_delegationPermittedChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; _homeDirectoryChanged = (_homeDirectoryChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; _homeDriveChanged = (_homeDriveChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; _scriptPathChanged = (_scriptPathChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet; }
static public void ValueCollectionResetTracking <T>(PrincipalValueCollection <T> trackList) { trackList.ResetTracking(); }