Get-SPSecureStoreApplication
適用版本: SharePoint Server 2010
上次修改主題的時間: 2015-03-09
會傳回安全認證儲存應用程式。
Syntax
Get-SPSecureStoreApplication -Name <String> -ServiceContext <SPServiceContextPipeBind> [-AssignmentCollection <SPAssignmentCollection>]
Get-SPSecureStoreApplication -All <SwitchParameter> -ServiceContext <SPServiceContextPipeBind> [-AssignmentCollection <SPAssignmentCollection>]
詳細描述
此 Cmdlet 包含一個以上的參數集。您可能只使用一個參數集中的參數,但不可以結合不同參數集的參數。如需如何使用參數集的詳細資訊,請參閱 Cmdlet Parameter Sets。
Get-SPSecureStoreApplication Cmdlet 會傳回安全認證儲存應用程式。
Parameters
參數 | 必要 | 類型 | 描述 |
---|---|---|---|
Name |
必要 |
System.String |
指定要取得的安全認證儲存應用程式名稱。 |
ServiceContext |
必要 |
Microsoft.SharePoint.PowerShell.SPServiceContextPipeBind |
指定要連線之本機安全認證儲存應用程式的服務內容。 |
AssignmentCollection |
選用 |
Microsoft.SharePoint.PowerShell.SPAssignmentCollection |
為能適當處置物件而管理物件。使用 SPWeb 或 SPSite 等物件可能會耗用大量的記憶體,因此在 Windows PowerShell 指令碼中使用這些物件時,必須適當地管理記憶體。您可以使用 SPAssignment 物件將物件指派給變數,並在不需要時處置這些物件,以釋放記憶體。使用 SPWeb、SPSite 或 SPSiteAdministration 物件時,若未使用指派集合或 Global 參數,將會自動處置這些物件。 注意 使用 Global 參數時,所有物件會包含在全域儲存區內。若未立即使用物件,或未使用 Stop-SPAssignment 命令處置物件,將會發生記憶體不足的狀況。 |
輸入類型
傳回類型
Example
------------------範例 1------------------
$ssApp = Get-SPSecureStoreApplication -ServiceContext http://contoso -Name "ContosoTargetApplication"
此範例會取得名稱為 ContosoTargetApplication
之目標應用程式的安全認證儲存應用程式。
------------------範例 2------------------
Get-SPSecureStoreApplication -ServiceContext http://contoso -All
此範例會傳回所有的安全認證儲存應用程式 http://contoso
。
See Also
Reference
New-SPSecureStoreApplication
Set-SPSecureStoreApplication
Remove-SPSecureStoreApplication
Update-SPSecureStoreApplicationServerKey