Share via


IStorageBlobManagement.CreateContainerIfNotExists Method

Definition

Overloads

CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)

Create the container if not exists

CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)

CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)

Create the container if not exists

public bool CreateContainerIfNotExists (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext OperationContext);
abstract member CreateContainerIfNotExists : Microsoft.Azure.Storage.Blob.CloudBlobContainer * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Function CreateContainerIfNotExists (container As CloudBlobContainer, requestOptions As BlobRequestOptions, OperationContext As OperationContext) As Boolean

Parameters

container
CloudBlobContainer

A cloudblobcontainer object

requestOptions
BlobRequestOptions

Blob request options

OperationContext
OperationContext

Operation context

Returns

True if the container did not already exist and was created; otherwise false.

Applies to

CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)

public bool CreateContainerIfNotExists (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext OperationContext);
abstract member CreateContainerIfNotExists : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> bool
Public Function CreateContainerIfNotExists (container As CloudBlobContainer, requestOptions As BlobRequestOptions, OperationContext As OperationContext) As Boolean

Parameters

container
CloudBlobContainer
requestOptions
BlobRequestOptions
OperationContext
OperationContext

Returns

Applies to