Get-SPOTenantCdnEnabled

返回在租户一级启用的是公用内容传送网络 (CDN) 还是专用 CDN。 需要租户管理员权限。

语法

Default (默认值)

Get-SPOTenantCdnEnabled
    -CdnType <SPOTenantCdnType>
    [<CommonParameters>]

说明

返回在租户一级启用的是公用内容传送网络 (CDN) 还是专用 CDN。

示例

示例 1

Get-SPOTenantCdnEnabled -CdnType Public

此示例返回公用 CDN 类型。

参数

-CdnType

适用:SharePoint Online

指定 CDN 类型。 有效值为 Public 或 Private。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SPOTenantCdnType
默认值:None
接受的值:Public, Private
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object