Exportar (0) Imprimir
Expandir todo

CloudBlobContainer.ListBlobsSegmented (Método) (BlobRequestOptions)

Returns a result segment containing a collection of blob items in the container.

Espacio de nombres: Microsoft.WindowsAzure.StorageClient
Ensamblado: Microsoft.WindowsAzure.StorageClient (en microsoft.windowsazure.storageclient.dll)

'Uso
Dim instance As CloudBlobContainer
Dim options As BlobRequestOptions
Dim returnValue As ResultSegment(Of IListBlobItem)

returnValue = instance.ListBlobsSegmented(options)

public ResultSegment<IListBlobItem> ListBlobsSegmented (
	BlobRequestOptions options
)
public ResultSegment<IListBlobItem> ListBlobsSegmented (
	BlobRequestOptions options
)
public function ListBlobsSegmented (
	options : BlobRequestOptions
) : ResultSegment<IListBlobItem>

Parámetros

options

An object that specifies any additional options for the request.

Valor devuelto

A result segment containing objects that implement IListBlobItem.

The ListBlobsSegmented method begins an operation to list blobs in pages. To specify the page size to return, pass in a non-zero value for the maxResults parameter. Passing in zero for the maxResults parameter returns either the maximum number of results available, or the per-operation limit of 5000 results.

If you have specified a page size, you can check the HasMoreResults property to check whether the page is complete. For example, if you have specified a page size of 10,000, a value which exceeds the per-operation limit, HasMoreResults will return true, indicating that the page is not complete. Note that if you have not specified a page size, HasMoreResults will always be false.

If you have not specified a page size, or the value of maxResults is zero, then check the value of the ContinuationToken property to determine whether there are more results to return. The continuation token is non-null as long as there are more results to return from the service.

Call the GetNext method to return the next segment of results from the service.

The objects returned by the listing depend on the type of listing that is being performed. If the UseFlatBlobListing property is set to true, the listing will return an enumerable collection of CloudBlob objects. If UseFlatBlobListing is set to false (the default value), the listing may return a collection containing CloudBlob objects and CloudBlobDirectory objects. The latter case provides a convenience for subsequent enumerations over a virtual blob hierarchy.


Cualquier miembro estático público (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Plataformas de desarrollo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 y Windows 2000

Plataformas de destino

Adiciones de comunidad

Mostrar:
© 2014 Microsoft