Share via


DataCacheFactory.GetDefaultCache Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the cache client corresponding to the default cache; an instance of the DataCache object.

Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)

Syntax

'Declaration
Public Function GetDefaultCache As DataCache
'Usage
Dim instance As DataCacheFactory
Dim returnValue As DataCache

returnValue = instance.GetDefaultCache
public DataCache GetDefaultCache ()
public:
DataCache^ GetDefaultCache ()
public DataCache GetDefaultCache ()
public function GetDefaultCache () : DataCache

Return Value

The cache client, an instance of the DataCache object.

Remarks

The default cache is automatically created when "Velocity" is first installed. View which caches are present in your cache cluster using the Get-Cache command with the PowerShell based cache administration tool. For more information, see Cache Administration with PowerShell (Velocity).

See Also

Reference

DataCacheFactory Class
DataCacheFactory Members
Microsoft.Data.Caching Namespace