Share via


StorageTableManagement.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
override this.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.

Implements

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, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member CreateTableIfNotExists : Microsoft.Azure.Cosmos.Table.CloudTable * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> bool
override this.CreateTableIfNotExists : Microsoft.Azure.Cosmos.Table.CloudTable * Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> bool
Public Function CreateTableIfNotExists (table As CloudTable, requestOptions As TableRequestOptions, operationContext As OperationContext) 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.

Implements

Applies to

CreateTableIfNotExists(CloudTable, TableRequestOptions, OperationContext)

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

Parameters

table
CloudTable
requestOptions
TableRequestOptions
operationContext
OperationContext

Returns

Implements

Applies to