Partager via


IStorageTableManagement.CreateTableIfNotExists Method

Definition

Overloads

CreateTableIfNotExists(String, CancellationToken)

Creates a table on the service.

CreateTableIfNotExists(CloudTable, TableRequestOptions, OperationContext)

Cloud a azure storage table if not exists.

CreateTableIfNotExists(CloudTable, TableRequestOptions, OperationContext)

CreateTableIfNotExists(String, CancellationToken)

Creates a table on the service.

public bool CreateTableIfNotExists (string tableName, System.Threading.CancellationToken cancellationToken);
abstract member CreateTableIfNotExists : string * System.Threading.CancellationToken -> bool
Public Function CreateTableIfNotExists (tableName As String, cancellationToken As CancellationToken) As Boolean

Parameters

tableName
String
cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

True if table was created; otherwise, false.

Applies to

CreateTableIfNotExists(CloudTable, TableRequestOptions, OperationContext)

Cloud a azure storage table if not exists.

public bool CreateTableIfNotExists (Microsoft.Azure.Cosmos.Table.CloudTable table, Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member CreateTableIfNotExists : Microsoft.Azure.Cosmos.Table.CloudTable * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> bool
Public Function CreateTableIfNotExists (table As CloudTable, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameters

table
CloudTable

Cloud table object

requestOptions
TableRequestOptions

Table request options

operationContext
OperationContext

Operation context

Returns

True if table was created; otherwise, false.

Applies to

CreateTableIfNotExists(CloudTable, TableRequestOptions, OperationContext)

public bool CreateTableIfNotExists (Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions = default, Microsoft.WindowsAzure.Storage.OperationContext operationContext = default);
abstract member CreateTableIfNotExists : Microsoft.WindowsAzure.Storage.Table.CloudTable * Microsoft.WindowsAzure.Storage.Table.TableRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> bool
Public Function CreateTableIfNotExists (table As CloudTable, Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameters

table
CloudTable
requestOptions
TableRequestOptions
operationContext
OperationContext

Returns

Applies to