Get-SPOStorageEntity

租户属性允许租户管理员在可由各种 SharePoint 框架组件读取的应用程序目录中添加属性。 由于租户属性存储在租户应用目录中,因此必须在以下 cmdlet 中提供租户应用程序目录网站集 URL 或网站集应用程序目录 URL。 此 cmdlet 用于获取属性包中的值。

语法

Default (默认值)

Get-SPOStorageEntity
    [-Site] <SpoSitePipeBind>
    [-Key] <String>
    [<CommonParameters>]

说明

使用此 cmdlet 获取属性包中的值。

示例

示例 1

Get-SPOStorageEntity -Site "https://tenant-name.sharepoint.com/sites/app-catalog" -Key "MyCustomValues"

此示例返回属性包中的整个条目。

参数

-Key

适用:SharePoint Online

应返回的属性包中的键。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

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

-Site

适用:SharePoint Online

租户或网站集应用程序目录的 URL。

参数属性

类型:Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
默认值:None
支持通配符:False
不显示:False

参数集

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

CommonParameters

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

输入

System.String

输出

System.Object