Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void SetRetentionPolicyTagAsync(string Identity, ExchangeRetentionPolicyTagType Type, int AgeLimitForRetention, ExchangeRetentionPolicyTagAction RetentionAction) {
     this.SetRetentionPolicyTagAsync(Identity, Type, AgeLimitForRetention, RetentionAction, null);
 }
Ejemplo n.º 3
0
 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]));
 }
Ejemplo n.º 4
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);
 }
Ejemplo n.º 5
0
 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;
 }