Export-SPServerScaleOutDatabaseTenantData

导出指定订阅的数据。

语法

Default (默认值)

Export-SPServerScaleOutDatabaseTenantData
    [-AssignmentCollection <SPAssignmentCollection>]
    [-Confirm]
    -FilePath <String>
    [-Force]
    -ServiceApplication <SPServiceApplicationPipeBind>
    -SiteSubscriptionId <Guid>
    [-WhatIf]
    [<CommonParameters>]

说明

使用 Export-SPServerScaleOutDatabaseTenantData cmdlet 可将指定订阅 ID 的数据从指定的服务应用程序导出到指定文件。

示例

Export-SPServerScaleOutDatabaseTenantData -FilePath "C:\TenantData.dat" -ServiceApplication $serviceApplication -SiteSubscriptionId "5CAF2F99-A75F-4239-B9CD-7FE63D1CE904"

此示例将 ID 为 5CAF2F99-A75F-4239-B9CD-7FE63D1CE904 的网站订阅的数据从指定的服务应用程序导出至 C:\ TenantData.dat 处的文件。

参数

-AssignmentCollection

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

{{Fill AssignmentCollection Description}}

参数属性

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

参数集

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

-Confirm

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

提示你在运行 cmdlet 之前进行确认。

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:cf

参数集

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

-FilePath

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

{{Fill FilePath Description}}

参数属性

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

参数集

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

-Force

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

{{Fill Force Description}}

参数属性

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

参数集

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

-ServiceApplication

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

{{Fill ServiceApplication Description}}

参数属性

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

参数集

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

-SiteSubscriptionId

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

{{Fill SiteSubscriptionId Description}}

参数属性

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

参数集

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

-WhatIf

适用:SharePoint Server 2013、SharePoint Server 2016 SharePoint Server 2019

显示在 cmdlet 运行时发生的情况。 此 cmdlet 未运行。

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:无线

参数集

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

CommonParameters

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

输入

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

输出

System.Object