IStorageBlobManagement.CreateContainerIfNotExists Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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