/// <remarks/>
 public void SetRetentionPolicyTagAsync(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction, object userState) {
     if ((this.SetRetentionPolicyTagOperationCompleted == null)) {
         this.SetRetentionPolicyTagOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetRetentionPolicyTagOperationCompleted);
     }
     this.InvokeAsync("SetRetentionPolicyTag", new object[] {
                 Identity,
                 Type,
                 AgeLimitForRetention,
                 RetentionAction}, this.SetRetentionPolicyTagOperationCompleted, userState);
 }
 /// <remarks/>
 public void SetRetentionPolicyTagAsync(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction) {
     this.SetRetentionPolicyTagAsync(Identity, Type, AgeLimitForRetention, RetentionAction, null);
 }
 public ResultObject SetRetentionPolicyTag(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction) {
     object[] results = this.Invoke("SetRetentionPolicyTag", new object[] {
                 Identity,
                 Type,
                 AgeLimitForRetention,
                 RetentionAction});
     return ((ResultObject)(results[0]));
 }
 /// <remarks/>
 public System.IAsyncResult BeginSetRetentionPolicyTag(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("SetRetentionPolicyTag", new object[] {
                 Identity,
                 Type,
                 AgeLimitForRetention,
                 RetentionAction}, callback, asyncState);
 }
 public ResultObject SetRetentionPolicyTag(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction)
 {
     ResultObject res = null;
     try
     {
         LogStart("SetRetentionPolicyTag");
         res = ES.SetRetentionPolicyTag(Identity, Type, AgeLimitForRetention, RetentionAction);
         LogEnd("SetRetentionPolicyTag");
     }
     catch (Exception ex)
     {
         LogError("SetRetentionPolicyTag", ex);
         throw;
     }
     return res;
 }