Starts an out-proc cache. The end result is the same as that of starting the
cache using NCache Manager. It starts the cache on the specified cache server.
If the Cache Server could not be contacted then it throws a
ManagementException exception.
It tries to get the Security Parameters from the Client.ncconf.
Namespace: Alachisoft.NCache.Web.ManagementAssembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
public static void StartCache(
string cacheId,
string serverName
) |
Visual Basic |
---|
Public Shared Sub StartCache ( _
cacheId As String, _
serverName As String _
) |
Visual C++ |
---|
public:
static void StartCache(
String^ cacheId,
String^ serverName
) |
See Also