共用方式為


Export-SPServerScaleOutDatabaseTenantData

匯出指定訂閱的資料。

Syntax

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

Description

使用 Export-SPServerScaleOutDatabaseTenantData Cmdlet 將指定訂閱識別碼的資料從指定的服務應用程式匯出至指定檔案。

範例

----------範例-------

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

此範例會將網站訂閱識別碼為 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

{{填入 FilePath 描述}}

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

-Force

{{填滿強制描述}}

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

-ServiceApplication

{{填滿服務應用程式描述}}

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

-SiteSubscriptionId

{{填入 SiteSubscriptionId 描述}}

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