Set-SPVisioExternalData

設定與 Visio Services 應用程式之外部資料連線相關的設定。

Syntax

Set-SPVisioExternalData
   -UnattendedServiceAccountApplicationID <String>
   -VisioServiceApplication <SPVisioServiceApplicationPipeBind>
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

Description

Cmdlet Set-SPVisioExternalData 會設定及設定 Visio Services 應用程式的外部資料連線設定。

如需適用於 SharePoint 產品的 Windows PowerShell 權限及最新資訊,請參閱位於 SharePoint Server Cmdlets 的線上文件。

範例

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

Set-SPVisioExternalData -VisioServiceApplication "VGS1" -UnattendedServiceAccountApplicationID "SSSApp1"

本範例會將名為 VGS1 之 Visio Services 應用程式的自動服務帳戶應用程式識別碼設定為 SSSApp1。

參數

-AssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

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

-UnattendedServiceAccountApplicationID

指定已註冊之安全存放區服務中用來參考自動服務帳戶認證的目標應用程式識別碼。 自動服務帳戶是單一帳戶,所有檔都可以用來重新整理資料。 連接到外部資料源時,這是必要的。

類型必須是小於或等於 256 個字元的有效值。 應用程式識別碼必須在安全存放區服務應用程式中註冊,否則會顯示錯誤訊息。

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

-VisioServiceApplication

指定包含 SPVisioExternalData 物件的 Visio Services 應用程式。

此類型必須是格式為 12345678-90ab-cdef-1234-567890bcdefgh 的有效 GUID;有效的 Visio Services 應用程式 (例如 MyVisioService1);或有效之 SPVisioServiceApplication 物件的執行個體。

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