示例#1
0
        /// <summary>Snippet for BatchDeleteRowsAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task BatchDeleteRowsRequestObjectAsync()
        {
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            BatchDeleteRowsRequest request = new BatchDeleteRowsRequest
            {
                ParentAsTableName = TableName.FromTable("[TABLE]"),
                RowNames          =
                {
                    RowName.FromTableRow("[TABLE]", "[ROW]"),
                },
            };
            // Make the request
            await tablesServiceClient.BatchDeleteRowsAsync(request);
        }
示例#2
0
        /// <summary>Snippet for BatchDeleteRowsAsync</summary>
        public async Task BatchDeleteRowsRequestObjectAsync()
        {
            // Snippet: BatchDeleteRowsAsync(BatchDeleteRowsRequest, CallSettings)
            // Additional: BatchDeleteRowsAsync(BatchDeleteRowsRequest, CancellationToken)
            // Create client
            TablesServiceClient tablesServiceClient = await TablesServiceClient.CreateAsync();

            // Initialize request argument(s)
            BatchDeleteRowsRequest request = new BatchDeleteRowsRequest
            {
                ParentAsTableName = TableName.FromTable("[TABLE]"),
                RowNames          =
                {
                    RowName.FromTableRow("[TABLE]", "[ROW]"),
                },
            };
            // Make the request
            await tablesServiceClient.BatchDeleteRowsAsync(request);

            // End snippet
        }