DataCache.CreateRegion Method (String)
Creates a region. Not supported in Windows Azure Shared Caching.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Syntax
public bool CreateRegion(
string region
)
public:
bool CreateRegion(
String^ region
)
member CreateRegion :
region:string -> bool
Public Function CreateRegion (
region As String
) As Boolean
Parameters
region
Type: System.StringThe name of the region that is created. Region names must be less than 65 KB.
Return Value
Type: System.Boolean
Returns aBoolean value..
Remarks
A value of true indicates that the region created successfully. A value of false indicates that the region already existed.
See Also
DataCache Class
Microsoft.ApplicationServer.Caching Namespace
Return to top