DataCacheAutoDiscoverProperty Constructor (Boolean, String^)

 

Creates a new DataCacheAutoDiscoverProperty object; specifies the web role, worker role, or endpoint that hosts Caching.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public:
DataCacheAutoDiscoverProperty(
	bool enable,
	String^ identifier
)

Parameters

enable
Type: System::Boolean

A value of true enables automatic discovery.

identifier
Type: System::String^

The name of the web role, worker role, or endpoint that hosts Caching in the cloud service deployment.

Return to top
Show: