/// <remarks/> public void deleteViewDefinitionAsync(DeleteViewDefinitionRequest DeleteViewDefinitionRequest) { this.deleteViewDefinitionAsync(DeleteViewDefinitionRequest, null); }
/// <remarks/> public void deleteViewDefinitionAsync(DeleteViewDefinitionRequest DeleteViewDefinitionRequest, object userState) { if ((this.deleteViewDefinitionOperationCompleted == null)) { this.deleteViewDefinitionOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeleteViewDefinitionOperationCompleted); } this.InvokeAsync("deleteViewDefinition", new object[] { DeleteViewDefinitionRequest}, this.deleteViewDefinitionOperationCompleted, userState); }
private void DeleteView(GetDataService service) { DeleteViewDefinitionRequest deleteRequest = new DeleteViewDefinitionRequest(); deleteRequest.viewName = "BamGenevaView"; Response deleteResponse = service.deleteViewDefinition(deleteRequest); Console.Write("Delete View Status Description: " + deleteResponse.statusCodes.description + "\n"); Console.Write("Delete View RequestId: " + deleteResponse.dlwsHeader.dlwsRequestId + "\n\n"); }