Export-SPServerScaleOutDatabaseTenantData

导出指定订阅的数据。

语法

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

{{Fill AssignmentCollection Description}}

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Confirm

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

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-FilePath

{{Fill FilePath Description}}

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-Force

{{Fill Force Description}}

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-ServiceApplication

{{Fill ServiceApplication Description}}

Type:SPServiceApplicationPipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-SiteSubscriptionId

{{Fill SiteSubscriptionId Description}}

Type:Guid
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

输入

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

输出

System.Object