Azure CloudBlobClient ListContainers Method

Download Azure Cloud Connect Setup File
Download Azure Cloud Connect Zip File

Returns an enumerable collection of containers whose names begin with the specified prefix and that are retrieved lazily.

[Microsoft.Azure.Storage.DoesServiceRequest]  
public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.CloudBlobContainer> ListContainers 
(string prefix = default, 
Microsoft.Azure.Storage.Blob.ContainerListingDetails detailsIncluded = Microsoft.Azure.Storage.Blob.ContainerListingDetails.None, 
Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, 
Microsoft.Azure.Storage.OperationContext operationContext = default);

Parameters

prefix
String

A string containing the container name prefix.

detailsIncluded
ContainerListingDetails

ContainerListingDetails enumeration value that indicates whether to return container metadata with the listing.

options
BlobRequestOptions

BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

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

Returns

Attributes