你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PSLocation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PSLocation() | |
PSLocation(Location) | |
PSLocation(String, Nullable<Int32>, Nullable<Boolean>) |
PSLocation()
public PSLocation ();
Public Sub New ()
Applies to
PSLocation(Location)
public PSLocation (Microsoft.Azure.Management.CosmosDB.Models.Location location);
new Microsoft.Azure.Commands.CosmosDB.Models.PSLocation : Microsoft.Azure.Management.CosmosDB.Models.Location -> Microsoft.Azure.Commands.CosmosDB.Models.PSLocation
Public Sub New (location As Location)
Parameters
- location
- Location
Applies to
PSLocation(String, Nullable<Int32>, Nullable<Boolean>)
public PSLocation (string locationName, int? failoverPriority, bool? isZoneRedundant);
new Microsoft.Azure.Commands.CosmosDB.Models.PSLocation : string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Commands.CosmosDB.Models.PSLocation
Public Sub New (locationName As String, failoverPriority As Nullable(Of Integer), isZoneRedundant As Nullable(Of Boolean))
Parameters
- locationName
- String