共用方式為


CloudTable.Create Method

Definition

Overloads

Create(TableRequestOptions, OperationContext, Nullable<IndexingMode>, Nullable<Int32>)
Create(Nullable<IndexingMode>, Nullable<Int32>, Nullable<Int32>)

Creates a table.

Create(TableRequestOptions, OperationContext, String, Nullable<Int32>, Nullable<Int32>)

Creates a table.

Create(TableRequestOptions, OperationContext)
Create()
Create(Nullable<IndexingMode>, Nullable<Int32>)

Creates a table.

Create(TableRequestOptions, OperationContext, Nullable<IndexingMode>, Nullable<Int32>)

public virtual void Create (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext, Microsoft.Azure.Cosmos.IndexingMode? indexingMode, int? throughput);
abstract member Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> -> unit
override this.Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> -> unit
Public Overridable Sub Create (requestOptions As TableRequestOptions, operationContext As OperationContext, indexingMode As Nullable(Of IndexingMode), throughput As Nullable(Of Integer))

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext
indexingMode
Nullable<IndexingMode>
throughput
Nullable<Int32>

Applies to

Create(Nullable<IndexingMode>, Nullable<Int32>, Nullable<Int32>)

Creates a table.

public virtual void Create (Microsoft.Azure.Cosmos.IndexingMode? indexingMode, int? throughput = default, int? defaultTimeToLive = default);
abstract member Create : Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * Nullable<int> -> unit
override this.Create : Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> * Nullable<int> -> unit
Public Overridable Sub Create (indexingMode As Nullable(Of IndexingMode), Optional throughput As Nullable(Of Integer) = Nothing, Optional defaultTimeToLive As Nullable(Of Integer) = Nothing)

Parameters

indexingMode
Nullable<IndexingMode>

Specify indexing mode for CosmosDB table

throughput
Nullable<Int32>

CosmosDB table throughput.

defaultTimeToLive
Nullable<Int32>

CosmosDB table time to live in seconds. Null implies TTL is off, -1 equals TTL is on and retain rows indefinitely, any other value sets TTL.

Applies to

Create(TableRequestOptions, OperationContext, String, Nullable<Int32>, Nullable<Int32>)

Creates a table.

public virtual void Create (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default, string serializedIndexingPolicy = default, int? throughput = default, int? defaultTimeToLive = default);
abstract member Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * string * Nullable<int> * Nullable<int> -> unit
override this.Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext * string * Nullable<int> * Nullable<int> -> unit
Public Overridable Sub Create (Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing, Optional serializedIndexingPolicy As String = Nothing, Optional throughput As Nullable(Of Integer) = Nothing, Optional defaultTimeToLive As Nullable(Of Integer) = Nothing)

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

serializedIndexingPolicy
String

CosmosDB table indexing policy.

throughput
Nullable<Int32>

CosmosDB table throughput.

defaultTimeToLive
Nullable<Int32>

CosmosDB table time to live in seconds. Null implies TTL is off, -1 equals TTL is on and retain rows indefinitely, any other value sets TTL.

Applies to

Create(TableRequestOptions, OperationContext)

public virtual void Create (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
abstract member Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> unit
override this.Create : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> unit
Public Overridable Sub Create (requestOptions As TableRequestOptions, operationContext As OperationContext)

Parameters

requestOptions
TableRequestOptions
operationContext
OperationContext

Applies to

Create()

public virtual void Create ();
abstract member Create : unit -> unit
override this.Create : unit -> unit
Public Overridable Sub Create ()

Applies to

Create(Nullable<IndexingMode>, Nullable<Int32>)

Creates a table.

public virtual void Create (Microsoft.Azure.Cosmos.IndexingMode? indexingMode, int? throughput);
abstract member Create : Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> -> unit
override this.Create : Nullable<Microsoft.Azure.Cosmos.IndexingMode> * Nullable<int> -> unit
Public Overridable Sub Create (indexingMode As Nullable(Of IndexingMode), throughput As Nullable(Of Integer))

Parameters

indexingMode
Nullable<IndexingMode>

Specify indexing mode for CosmosDB table

throughput
Nullable<Int32>

CosmosDB table throughput

Applies to