你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LocationMode Enum

Definition

Specifies the location mode to indicate which location should receive the request.

public enum LocationMode
type LocationMode = 
Public Enum LocationMode
Inheritance
LocationMode

Fields

Name Value Description
PrimaryOnly 0

Requests are always sent to the primary location.

PrimaryThenSecondary 1

Requests are always sent to the primary location first. If a request fails, it is sent to the secondary location.

SecondaryOnly 2

Requests are always sent to the secondary location.

SecondaryThenPrimary 3

Requests are always sent to the secondary location first. If a request fails, it is sent to the primary location.

Applies to