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

ArmSqlModelFactory.MaxSizeCapability Method

Definition

Initializes a new instance of MaxSizeCapability.

public static Azure.ResourceManager.Sql.Models.MaxSizeCapability MaxSizeCapability (int? limit = default, Azure.ResourceManager.Sql.Models.MaxSizeUnit? unit = default);
static member MaxSizeCapability : Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.MaxSizeUnit> -> Azure.ResourceManager.Sql.Models.MaxSizeCapability
Public Shared Function MaxSizeCapability (Optional limit As Nullable(Of Integer) = Nothing, Optional unit As Nullable(Of MaxSizeUnit) = Nothing) As MaxSizeCapability

Parameters

limit
Nullable<Int32>

The maximum size limit (see 'unit' for the units).

unit
Nullable<MaxSizeUnit>

The units that the limit is expressed in.

Returns

A new MaxSizeCapability instance for mocking.

Applies to