ListingContext.MaxResults Property

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Gets or sets the MaxResults value.

Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim instance As ListingContext
Dim value As Nullable(Of Integer)

value = instance.MaxResults

instance.MaxResults = value

Syntax

Visual Basic
Public Property MaxResults As Nullable(Of Integer)
C#
public Nullable<int> MaxResults { get; set; }
C++
public:
property Nullable<int> MaxResults {
	Nullable<int> get ();
	void set (Nullable<int> value);
}
J#
JScript

Property Value

Type: System.Nullable

The MaxResults value.

Remarks

Specifies the maximum number of blobs to return, including all BlobPrefix elements.

If maxresults is not specified, the server will return up to 5,000 items. Setting maxresults to a value greater than 5,000 results in error response code 400 (Bad Request).

For more details about this API, see the topics on the equivalent REST APIs in See Also > Other Resources.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

See Also