1211 lines
67 KiB
C#
1211 lines
67 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:2.0.50727.7905
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
//
|
|
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.
|
|
//
|
|
namespace WebsitePanel.Providers.RemoteDesktopServices {
|
|
using System.Xml.Serialization;
|
|
using System.Web.Services;
|
|
using System.ComponentModel;
|
|
using System.Web.Services.Protocols;
|
|
using System;
|
|
using System.Diagnostics;
|
|
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Web.Services.WebServiceBindingAttribute(Name="RemoteDesktopServicesSoap", Namespace="http://smbsaas/websitepanel/server/")]
|
|
public partial class RemoteDesktopServices : Microsoft.Web.Services3.WebServicesClientProtocol {
|
|
|
|
public ServiceProviderSettingsSoapHeader ServiceProviderSettingsSoapHeaderValue;
|
|
|
|
private System.Threading.SendOrPostCallback CreateCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback RemoveCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback SetUsersInCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddSessionHostServerToCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddSessionHostServersToCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback RemoveSessionHostServerFromCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback RemoveSessionHostServersFromCollectionOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback SetRDServerNewConnectionAllowedOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetAvailableRemoteApplicationsOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetCollectionRemoteApplicationsOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddRemoteApplicationOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddRemoteApplicationsOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback RemoveRemoteApplicationOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddSessionHostFeatureToServerOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback CheckSessionHostFeatureInstallationOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback CheckServerAvailabilityOperationCompleted;
|
|
|
|
/// <remarks/>
|
|
public RemoteDesktopServices() {
|
|
this.Url = "http://localhost:9003/RemoteDesktopServices.asmx";
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event CreateCollectionCompletedEventHandler CreateCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetCollectionCompletedEventHandler GetCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event RemoveCollectionCompletedEventHandler RemoveCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event SetUsersInCollectionCompletedEventHandler SetUsersInCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddSessionHostServerToCollectionCompletedEventHandler AddSessionHostServerToCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddSessionHostServersToCollectionCompletedEventHandler AddSessionHostServersToCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event RemoveSessionHostServerFromCollectionCompletedEventHandler RemoveSessionHostServerFromCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event RemoveSessionHostServersFromCollectionCompletedEventHandler RemoveSessionHostServersFromCollectionCompleted;
|
|
|
|
/// <remarks/>
|
|
public event SetRDServerNewConnectionAllowedCompletedEventHandler SetRDServerNewConnectionAllowedCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetAvailableRemoteApplicationsCompletedEventHandler GetAvailableRemoteApplicationsCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetCollectionRemoteApplicationsCompletedEventHandler GetCollectionRemoteApplicationsCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddRemoteApplicationCompletedEventHandler AddRemoteApplicationCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddRemoteApplicationsCompletedEventHandler AddRemoteApplicationsCompleted;
|
|
|
|
/// <remarks/>
|
|
public event RemoveRemoteApplicationCompletedEventHandler RemoveRemoteApplicationCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddSessionHostFeatureToServerCompletedEventHandler AddSessionHostFeatureToServerCompleted;
|
|
|
|
/// <remarks/>
|
|
public event CheckSessionHostFeatureInstallationCompletedEventHandler CheckSessionHostFeatureInstallationCompleted;
|
|
|
|
/// <remarks/>
|
|
public event CheckServerAvailabilityCompletedEventHandler CheckServerAvailabilityCompleted;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CreateCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool CreateCollection(string organizationId, RdsCollection collection) {
|
|
object[] results = this.Invoke("CreateCollection", new object[] {
|
|
organizationId,
|
|
collection});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginCreateCollection(string organizationId, RdsCollection collection, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("CreateCollection", new object[] {
|
|
organizationId,
|
|
collection}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndCreateCollection(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CreateCollectionAsync(string organizationId, RdsCollection collection) {
|
|
this.CreateCollectionAsync(organizationId, collection, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CreateCollectionAsync(string organizationId, RdsCollection collection, object userState) {
|
|
if ((this.CreateCollectionOperationCompleted == null)) {
|
|
this.CreateCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("CreateCollection", new object[] {
|
|
organizationId,
|
|
collection}, this.CreateCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnCreateCollectionOperationCompleted(object arg) {
|
|
if ((this.CreateCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.CreateCollectionCompleted(this, new CreateCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public RdsCollection GetCollection(string collectionName) {
|
|
object[] results = this.Invoke("GetCollection", new object[] {
|
|
collectionName});
|
|
return ((RdsCollection)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginGetCollection(string collectionName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("GetCollection", new object[] {
|
|
collectionName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public RdsCollection EndGetCollection(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((RdsCollection)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetCollectionAsync(string collectionName) {
|
|
this.GetCollectionAsync(collectionName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetCollectionAsync(string collectionName, object userState) {
|
|
if ((this.GetCollectionOperationCompleted == null)) {
|
|
this.GetCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetCollection", new object[] {
|
|
collectionName}, this.GetCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetCollectionOperationCompleted(object arg) {
|
|
if ((this.GetCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetCollectionCompleted(this, new GetCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool RemoveCollection(string organizationId, string collectionName) {
|
|
object[] results = this.Invoke("RemoveCollection", new object[] {
|
|
organizationId,
|
|
collectionName});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginRemoveCollection(string organizationId, string collectionName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("RemoveCollection", new object[] {
|
|
organizationId,
|
|
collectionName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndRemoveCollection(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveCollectionAsync(string organizationId, string collectionName) {
|
|
this.RemoveCollectionAsync(organizationId, collectionName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveCollectionAsync(string organizationId, string collectionName, object userState) {
|
|
if ((this.RemoveCollectionOperationCompleted == null)) {
|
|
this.RemoveCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("RemoveCollection", new object[] {
|
|
organizationId,
|
|
collectionName}, this.RemoveCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnRemoveCollectionOperationCompleted(object arg) {
|
|
if ((this.RemoveCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.RemoveCollectionCompleted(this, new RemoveCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetUsersInCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool SetUsersInCollection(string organizationId, string collectionName, string[] users) {
|
|
object[] results = this.Invoke("SetUsersInCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
users});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginSetUsersInCollection(string organizationId, string collectionName, string[] users, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("SetUsersInCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
users}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndSetUsersInCollection(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users) {
|
|
this.SetUsersInCollectionAsync(organizationId, collectionName, users, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SetUsersInCollectionAsync(string organizationId, string collectionName, string[] users, object userState) {
|
|
if ((this.SetUsersInCollectionOperationCompleted == null)) {
|
|
this.SetUsersInCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUsersInCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("SetUsersInCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
users}, this.SetUsersInCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnSetUsersInCollectionOperationCompleted(object arg) {
|
|
if ((this.SetUsersInCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.SetUsersInCollectionCompleted(this, new SetUsersInCollectionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServerToCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void AddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server) {
|
|
this.Invoke("AddSessionHostServerToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginAddSessionHostServerToCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("AddSessionHostServerToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void EndAddSessionHostServerToCollection(System.IAsyncResult asyncResult) {
|
|
this.EndInvoke(asyncResult);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server) {
|
|
this.AddSessionHostServerToCollectionAsync(organizationId, collectionName, server, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostServerToCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState) {
|
|
if ((this.AddSessionHostServerToCollectionOperationCompleted == null)) {
|
|
this.AddSessionHostServerToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostServerToCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddSessionHostServerToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server}, this.AddSessionHostServerToCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddSessionHostServerToCollectionOperationCompleted(object arg) {
|
|
if ((this.AddSessionHostServerToCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddSessionHostServerToCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostServersToCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void AddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers) {
|
|
this.Invoke("AddSessionHostServersToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginAddSessionHostServersToCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("AddSessionHostServersToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void EndAddSessionHostServersToCollection(System.IAsyncResult asyncResult) {
|
|
this.EndInvoke(asyncResult);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers) {
|
|
this.AddSessionHostServersToCollectionAsync(organizationId, collectionName, servers, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostServersToCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState) {
|
|
if ((this.AddSessionHostServersToCollectionOperationCompleted == null)) {
|
|
this.AddSessionHostServersToCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostServersToCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddSessionHostServersToCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers}, this.AddSessionHostServersToCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddSessionHostServersToCollectionOperationCompleted(object arg) {
|
|
if ((this.AddSessionHostServersToCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddSessionHostServersToCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServerFromCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void RemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server) {
|
|
this.Invoke("RemoveSessionHostServerFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginRemoveSessionHostServerFromCollection(string organizationId, string collectionName, RdsServer server, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("RemoveSessionHostServerFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void EndRemoveSessionHostServerFromCollection(System.IAsyncResult asyncResult) {
|
|
this.EndInvoke(asyncResult);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server) {
|
|
this.RemoveSessionHostServerFromCollectionAsync(organizationId, collectionName, server, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveSessionHostServerFromCollectionAsync(string organizationId, string collectionName, RdsServer server, object userState) {
|
|
if ((this.RemoveSessionHostServerFromCollectionOperationCompleted == null)) {
|
|
this.RemoveSessionHostServerFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveSessionHostServerFromCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("RemoveSessionHostServerFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
server}, this.RemoveSessionHostServerFromCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnRemoveSessionHostServerFromCollectionOperationCompleted(object arg) {
|
|
if ((this.RemoveSessionHostServerFromCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.RemoveSessionHostServerFromCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveSessionHostServersFromCollection", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void RemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers) {
|
|
this.Invoke("RemoveSessionHostServersFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginRemoveSessionHostServersFromCollection(string organizationId, string collectionName, RdsServer[] servers, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("RemoveSessionHostServersFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void EndRemoveSessionHostServersFromCollection(System.IAsyncResult asyncResult) {
|
|
this.EndInvoke(asyncResult);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers) {
|
|
this.RemoveSessionHostServersFromCollectionAsync(organizationId, collectionName, servers, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveSessionHostServersFromCollectionAsync(string organizationId, string collectionName, RdsServer[] servers, object userState) {
|
|
if ((this.RemoveSessionHostServersFromCollectionOperationCompleted == null)) {
|
|
this.RemoveSessionHostServersFromCollectionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveSessionHostServersFromCollectionOperationCompleted);
|
|
}
|
|
this.InvokeAsync("RemoveSessionHostServersFromCollection", new object[] {
|
|
organizationId,
|
|
collectionName,
|
|
servers}, this.RemoveSessionHostServersFromCollectionOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnRemoveSessionHostServersFromCollectionOperationCompleted(object arg) {
|
|
if ((this.RemoveSessionHostServersFromCollectionCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.RemoveSessionHostServersFromCollectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/SetRDServerNewConnectionAllowed", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public void SetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server) {
|
|
this.Invoke("SetRDServerNewConnectionAllowed", new object[] {
|
|
newConnectionAllowed,
|
|
server});
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginSetRDServerNewConnectionAllowed(bool newConnectionAllowed, RdsServer server, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("SetRDServerNewConnectionAllowed", new object[] {
|
|
newConnectionAllowed,
|
|
server}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void EndSetRDServerNewConnectionAllowed(System.IAsyncResult asyncResult) {
|
|
this.EndInvoke(asyncResult);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SetRDServerNewConnectionAllowedAsync(bool newConnectionAllowed, RdsServer server) {
|
|
this.SetRDServerNewConnectionAllowedAsync(newConnectionAllowed, server, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void SetRDServerNewConnectionAllowedAsync(bool newConnectionAllowed, RdsServer server, object userState) {
|
|
if ((this.SetRDServerNewConnectionAllowedOperationCompleted == null)) {
|
|
this.SetRDServerNewConnectionAllowedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetRDServerNewConnectionAllowedOperationCompleted);
|
|
}
|
|
this.InvokeAsync("SetRDServerNewConnectionAllowed", new object[] {
|
|
newConnectionAllowed,
|
|
server}, this.SetRDServerNewConnectionAllowedOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnSetRDServerNewConnectionAllowedOperationCompleted(object arg) {
|
|
if ((this.SetRDServerNewConnectionAllowedCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.SetRDServerNewConnectionAllowedCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetAvailableRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public StartMenuApp[] GetAvailableRemoteApplications(string collectionName) {
|
|
object[] results = this.Invoke("GetAvailableRemoteApplications", new object[] {
|
|
collectionName});
|
|
return ((StartMenuApp[])(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginGetAvailableRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("GetAvailableRemoteApplications", new object[] {
|
|
collectionName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public StartMenuApp[] EndGetAvailableRemoteApplications(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((StartMenuApp[])(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetAvailableRemoteApplicationsAsync(string collectionName) {
|
|
this.GetAvailableRemoteApplicationsAsync(collectionName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetAvailableRemoteApplicationsAsync(string collectionName, object userState) {
|
|
if ((this.GetAvailableRemoteApplicationsOperationCompleted == null)) {
|
|
this.GetAvailableRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAvailableRemoteApplicationsOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetAvailableRemoteApplications", new object[] {
|
|
collectionName}, this.GetAvailableRemoteApplicationsOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetAvailableRemoteApplicationsOperationCompleted(object arg) {
|
|
if ((this.GetAvailableRemoteApplicationsCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetAvailableRemoteApplicationsCompleted(this, new GetAvailableRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetCollectionRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public RemoteApplication[] GetCollectionRemoteApplications(string collectionName) {
|
|
object[] results = this.Invoke("GetCollectionRemoteApplications", new object[] {
|
|
collectionName});
|
|
return ((RemoteApplication[])(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginGetCollectionRemoteApplications(string collectionName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("GetCollectionRemoteApplications", new object[] {
|
|
collectionName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public RemoteApplication[] EndGetCollectionRemoteApplications(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((RemoteApplication[])(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetCollectionRemoteApplicationsAsync(string collectionName) {
|
|
this.GetCollectionRemoteApplicationsAsync(collectionName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetCollectionRemoteApplicationsAsync(string collectionName, object userState) {
|
|
if ((this.GetCollectionRemoteApplicationsOperationCompleted == null)) {
|
|
this.GetCollectionRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCollectionRemoteApplicationsOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetCollectionRemoteApplications", new object[] {
|
|
collectionName}, this.GetCollectionRemoteApplicationsOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetCollectionRemoteApplicationsOperationCompleted(object arg) {
|
|
if ((this.GetCollectionRemoteApplicationsCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetCollectionRemoteApplicationsCompleted(this, new GetCollectionRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool AddRemoteApplication(string collectionName, RemoteApplication remoteApp) {
|
|
object[] results = this.Invoke("AddRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginAddRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("AddRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndAddRemoteApplication(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp) {
|
|
this.AddRemoteApplicationAsync(collectionName, remoteApp, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState) {
|
|
if ((this.AddRemoteApplicationOperationCompleted == null)) {
|
|
this.AddRemoteApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRemoteApplicationOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp}, this.AddRemoteApplicationOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddRemoteApplicationOperationCompleted(object arg) {
|
|
if ((this.AddRemoteApplicationCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddRemoteApplicationCompleted(this, new AddRemoteApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddRemoteApplications", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool AddRemoteApplications(string collectionName, RemoteApplication[] remoteApps) {
|
|
object[] results = this.Invoke("AddRemoteApplications", new object[] {
|
|
collectionName,
|
|
remoteApps});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginAddRemoteApplications(string collectionName, RemoteApplication[] remoteApps, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("AddRemoteApplications", new object[] {
|
|
collectionName,
|
|
remoteApps}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndAddRemoteApplications(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps) {
|
|
this.AddRemoteApplicationsAsync(collectionName, remoteApps, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddRemoteApplicationsAsync(string collectionName, RemoteApplication[] remoteApps, object userState) {
|
|
if ((this.AddRemoteApplicationsOperationCompleted == null)) {
|
|
this.AddRemoteApplicationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRemoteApplicationsOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddRemoteApplications", new object[] {
|
|
collectionName,
|
|
remoteApps}, this.AddRemoteApplicationsOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddRemoteApplicationsOperationCompleted(object arg) {
|
|
if ((this.AddRemoteApplicationsCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddRemoteApplicationsCompleted(this, new AddRemoteApplicationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/RemoveRemoteApplication", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool RemoveRemoteApplication(string collectionName, RemoteApplication remoteApp) {
|
|
object[] results = this.Invoke("RemoveRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginRemoveRemoteApplication(string collectionName, RemoteApplication remoteApp, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("RemoveRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndRemoveRemoteApplication(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp) {
|
|
this.RemoveRemoteApplicationAsync(collectionName, remoteApp, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void RemoveRemoteApplicationAsync(string collectionName, RemoteApplication remoteApp, object userState) {
|
|
if ((this.RemoveRemoteApplicationOperationCompleted == null)) {
|
|
this.RemoveRemoteApplicationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRemoteApplicationOperationCompleted);
|
|
}
|
|
this.InvokeAsync("RemoveRemoteApplication", new object[] {
|
|
collectionName,
|
|
remoteApp}, this.RemoveRemoteApplicationOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnRemoveRemoteApplicationOperationCompleted(object arg) {
|
|
if ((this.RemoveRemoteApplicationCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.RemoveRemoteApplicationCompleted(this, new RemoveRemoteApplicationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/AddSessionHostFeatureToServer", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool AddSessionHostFeatureToServer(string hostName) {
|
|
object[] results = this.Invoke("AddSessionHostFeatureToServer", new object[] {
|
|
hostName});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginAddSessionHostFeatureToServer(string hostName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("AddSessionHostFeatureToServer", new object[] {
|
|
hostName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndAddSessionHostFeatureToServer(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostFeatureToServerAsync(string hostName) {
|
|
this.AddSessionHostFeatureToServerAsync(hostName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddSessionHostFeatureToServerAsync(string hostName, object userState) {
|
|
if ((this.AddSessionHostFeatureToServerOperationCompleted == null)) {
|
|
this.AddSessionHostFeatureToServerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSessionHostFeatureToServerOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddSessionHostFeatureToServer", new object[] {
|
|
hostName}, this.AddSessionHostFeatureToServerOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddSessionHostFeatureToServerOperationCompleted(object arg) {
|
|
if ((this.AddSessionHostFeatureToServerCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddSessionHostFeatureToServerCompleted(this, new AddSessionHostFeatureToServerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckSessionHostFeatureInstallation", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool CheckSessionHostFeatureInstallation(string hostName) {
|
|
object[] results = this.Invoke("CheckSessionHostFeatureInstallation", new object[] {
|
|
hostName});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginCheckSessionHostFeatureInstallation(string hostName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("CheckSessionHostFeatureInstallation", new object[] {
|
|
hostName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndCheckSessionHostFeatureInstallation(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CheckSessionHostFeatureInstallationAsync(string hostName) {
|
|
this.CheckSessionHostFeatureInstallationAsync(hostName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CheckSessionHostFeatureInstallationAsync(string hostName, object userState) {
|
|
if ((this.CheckSessionHostFeatureInstallationOperationCompleted == null)) {
|
|
this.CheckSessionHostFeatureInstallationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckSessionHostFeatureInstallationOperationCompleted);
|
|
}
|
|
this.InvokeAsync("CheckSessionHostFeatureInstallation", new object[] {
|
|
hostName}, this.CheckSessionHostFeatureInstallationOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnCheckSessionHostFeatureInstallationOperationCompleted(object arg) {
|
|
if ((this.CheckSessionHostFeatureInstallationCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.CheckSessionHostFeatureInstallationCompleted(this, new CheckSessionHostFeatureInstallationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapHeaderAttribute("ServiceProviderSettingsSoapHeaderValue")]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/CheckServerAvailability", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public bool CheckServerAvailability(string hostName) {
|
|
object[] results = this.Invoke("CheckServerAvailability", new object[] {
|
|
hostName});
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.IAsyncResult BeginCheckServerAvailability(string hostName, System.AsyncCallback callback, object asyncState) {
|
|
return this.BeginInvoke("CheckServerAvailability", new object[] {
|
|
hostName}, callback, asyncState);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool EndCheckServerAvailability(System.IAsyncResult asyncResult) {
|
|
object[] results = this.EndInvoke(asyncResult);
|
|
return ((bool)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CheckServerAvailabilityAsync(string hostName) {
|
|
this.CheckServerAvailabilityAsync(hostName, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void CheckServerAvailabilityAsync(string hostName, object userState) {
|
|
if ((this.CheckServerAvailabilityOperationCompleted == null)) {
|
|
this.CheckServerAvailabilityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckServerAvailabilityOperationCompleted);
|
|
}
|
|
this.InvokeAsync("CheckServerAvailability", new object[] {
|
|
hostName}, this.CheckServerAvailabilityOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnCheckServerAvailabilityOperationCompleted(object arg) {
|
|
if ((this.CheckServerAvailabilityCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.CheckServerAvailabilityCompleted(this, new CheckServerAvailabilityCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public new void CancelAsync(object userState) {
|
|
base.CancelAsync(userState);
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void CreateCollectionCompletedEventHandler(object sender, CreateCollectionCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class CreateCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal CreateCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void GetCollectionCompletedEventHandler(object sender, GetCollectionCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public RdsCollection Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((RdsCollection)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void RemoveCollectionCompletedEventHandler(object sender, RemoveCollectionCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class RemoveCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal RemoveCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void SetUsersInCollectionCompletedEventHandler(object sender, SetUsersInCollectionCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class SetUsersInCollectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal SetUsersInCollectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void AddSessionHostServerToCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void AddSessionHostServersToCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void RemoveSessionHostServerFromCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void RemoveSessionHostServersFromCollectionCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void SetRDServerNewConnectionAllowedCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void GetAvailableRemoteApplicationsCompletedEventHandler(object sender, GetAvailableRemoteApplicationsCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetAvailableRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetAvailableRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public StartMenuApp[] Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((StartMenuApp[])(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void GetCollectionRemoteApplicationsCompletedEventHandler(object sender, GetCollectionRemoteApplicationsCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetCollectionRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetCollectionRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public RemoteApplication[] Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((RemoteApplication[])(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void AddRemoteApplicationCompletedEventHandler(object sender, AddRemoteApplicationCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class AddRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal AddRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void AddRemoteApplicationsCompletedEventHandler(object sender, AddRemoteApplicationsCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class AddRemoteApplicationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal AddRemoteApplicationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void RemoveRemoteApplicationCompletedEventHandler(object sender, RemoveRemoteApplicationCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class RemoveRemoteApplicationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal RemoveRemoteApplicationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void AddSessionHostFeatureToServerCompletedEventHandler(object sender, AddSessionHostFeatureToServerCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class AddSessionHostFeatureToServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal AddSessionHostFeatureToServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void CheckSessionHostFeatureInstallationCompletedEventHandler(object sender, CheckSessionHostFeatureInstallationCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class CheckSessionHostFeatureInstallationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal CheckSessionHostFeatureInstallationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
public delegate void CheckServerAvailabilityCompletedEventHandler(object sender, CheckServerAvailabilityCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class CheckServerAvailabilityCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal CheckServerAvailabilityCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public bool Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((bool)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
}
|