共用方式為


IRedisCachePremiumBeta.GetLinkedServerRoleAsync Method

Definition

Gets the role for the linked server of the current Redis cache instance.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Fluent.Models.ReplicationRole> GetLinkedServerRoleAsync (string linkedServerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLinkedServerRoleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Fluent.Models.ReplicationRole>
Public Function GetLinkedServerRoleAsync (linkedServerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReplicationRole)

Parameters

linkedServerName
String

The name of the linked server.

cancellationToken
CancellationToken

Returns

Applies to