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)

Syntax

public DataCacheAutoDiscoverProperty(
    bool enable,
    string identifier
)
public:
DataCacheAutoDiscoverProperty(
    bool enable,
    String^ identifier
)
new : 
        enable:bool *
        identifier:string -> DataCacheAutoDiscoverProperty
Public Sub New (
    enable As Boolean,
    identifier As String
)

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.

See Also

DataCacheAutoDiscoverProperty Overload
DataCacheAutoDiscoverProperty Class
Microsoft.ApplicationServer.Caching Namespace

Return to top