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)

public bool CreateRegion(
	string region


Type: System.String

The name of the region that is created. Region names must be less than 65 KB.

Return Value

Type: System.Boolean

Returns aBoolean value..

A value of true indicates that the region created successfully. A value of false indicates that the region already existed.

Return to top