Exemple #1
0
        /// <summary>
        /// Removes the named application.
        /// </summary>
        /// <param name="appId">appId identifies the application to remove.</param>
        /// <param name="forceRemove">Forces the application removal if true.</param>
        /// <returns></returns>
        public ProvisioningWarningType[] RemoveApplication(string appId, bool forceRemove)
        {
            var param = new RemoveApplicationType
            {
                applicationID        = appId,
                forceRemove          = forceRemove,
                forceRemoveSpecified = true
            };

            return(provisionSvc.removeApplication(param));
        }
 /// <summary>
 /// Removes the named application.
 /// </summary>
 /// <param name="appId">appId identifies the application to remove.</param>
 /// <param name="forceRemove">Forces the application removal if true.</param>
 /// <returns></returns>
 public ProvisioningWarningType[] RemoveApplication(string appId, bool forceRemove)
 {
     var param = new RemoveApplicationType
         {
             applicationID = appId,
             forceRemove = forceRemove,
             forceRemoveSpecified = true
         };
     return provisionSvc.removeApplication(param);
 }
 /// <remarks/>
 public void removeApplicationAsync(RemoveApplicationType removeApplicationInput)
 {
     this.removeApplicationAsync(removeApplicationInput, null);
 }
 /// <remarks/>
 public void removeApplicationAsync(RemoveApplicationType removeApplicationInput, object userState)
 {
     if ((this.removeApplicationOperationCompleted == null))
     {
         this.removeApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnremoveApplicationOperationCompleted);
     }
     this.InvokeAsync("removeApplication", new object[] {
                 removeApplicationInput}, this.removeApplicationOperationCompleted, userState);
 }
 /// <remarks/>
 public System.IAsyncResult BeginremoveApplication(RemoveApplicationType removeApplicationInput, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("removeApplication", new object[] {
                 removeApplicationInput}, callback, asyncState);
 }