Beispiel #1
0
 /// <summary>
 /// Delete a table instance.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.ITableOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the data factory.
 /// </param>
 /// <param name='dataFactoryName'>
 /// Required. A unique data factory instance name.
 /// </param>
 /// <param name='tableName'>
 /// Required. Name of the table.
 /// </param>
 /// <returns>
 /// A standard service response for long running operations.
 /// </returns>
 public static Task <LongRunningOperationResponse> DeleteAsync(
     this ITableOperations operations,
     string resourceGroupName,
     string dataFactoryName,
     string tableName)
 {
     return(operations.DeleteAsync(resourceGroupName, dataFactoryName, tableName, CancellationToken.None));
 }
 /// <summary>
 /// Deletes the table with the specified table name, under the specified
 /// account if it exists.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription. The name is
 /// case insensitive.
 /// </param>
 /// <param name='accountName'>
 /// The name of the storage account within the specified resource group.
 /// Storage account names must be between 3 and 24 characters in length and use
 /// numbers and lower-case letters only.
 /// </param>
 /// <param name='tableName'>
 /// A table name must be unique within a storage account and must be between 3
 /// and 63 characters.The name must comprise of only alphanumeric characters
 /// and it cannot begin with a numeric character.
 /// </param>
 public static void Delete(this ITableOperations operations, string resourceGroupName, string accountName, string tableName)
 {
     operations.DeleteAsync(resourceGroupName, accountName, tableName).GetAwaiter().GetResult();
 }