Exemple #1
0
        public static void DeleteSearchIndex(OTSClient otsClient)
        {
            Console.WriteLine("\n Start Delete searchindex...");

            DeleteSearchIndexRequest  request  = new DeleteSearchIndexRequest(TableName, IndexName);
            DeleteSearchIndexResponse response = otsClient.DeleteSearchIndex(request);

            Console.WriteLine("Searchindex is deleted:" + IndexName);
        }
Exemple #2
0
 /// <summary>
 /// DeleteSearchIndex的异步形式。
 /// </summary>
 /// <param name="request"></param>
 /// <returns></returns>
 public Task <DeleteSearchIndexResponse> DeleteSearchIndexAsync(DeleteSearchIndexRequest request)
 {
     return(CallAsync <DeleteSearchIndexRequest, DeleteSearchIndexResponse>("/DeleteSearchIndex", request));
 }
Exemple #3
0
 public DeleteSearchIndexResponse DeleteSearchIndex(DeleteSearchIndexRequest request)
 {
     return(GetResponseFromAsyncTask(DeleteSearchIndexAsync(request)));
 }