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

ProductEntityBaseProperties.IsSubscriptionRequired 属性

定义

访问此产品中包含的 API 是否需要产品订阅。 如果为 true,则产品称为“protected”,并且需要有效的订阅密钥才能成功请求产品中包含的 API。 如果为 false,则产品称为“打开”,并且无需订阅密钥即可对产品中包含的 API 发出请求。 如果在创建新产品时省略属性,则假定其值为 true。

public bool? IsSubscriptionRequired { get; }
member this.IsSubscriptionRequired : Nullable<bool>
Public ReadOnly Property IsSubscriptionRequired As Nullable(Of Boolean)

属性值

适用于