LocalResource::GetMaximumSizeInMegabytes Method

Gets the maximum size that is allocated for the local storage resource.

Syntax

public:
int GetMaximumSizeInMegabytes()  

Return value

Type: int 

The size in megabytes of the local storage resource.

Remarks

GetMaximumSizeInMegabytes gets the value that was defined for the sizeInMB attribute in the ServiceDefinition.csdef file.

Requirements

Header: Declared in ServiceDefinition.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

LocalResource

LocalResource Members