DataCache.CreateRegion Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a region and specifies if resident objects may be evicted.
Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Sub CreateRegion ( _
region As String, _
evictionOn As Boolean _
)
'Usage
Dim instance As DataCache
Dim region As String
Dim evictionOn As Boolean
instance.CreateRegion(region, evictionOn)
public void CreateRegion (
string region,
bool evictionOn
)
public:
void CreateRegion (
String^ region,
bool evictionOn
)
public void CreateRegion (
String region,
boolean evictionOn
)
public function CreateRegion (
region : String,
evictionOn : boolean
)
Parameters
- region
The name of the region that is created.
- evictionOn
True if objects in the region can be evicted.
Remarks
For more information about regions, see Logical Model (Velocity).
See Also
Reference
DataCache Class
DataCache Members
Microsoft.Data.Caching Namespace