Get-SPAccessServicesDatabase
Access Services データベースを返します。
構文
Default (既定)
Get-SPAccessServicesDatabase
[[-Identity] <AccessServicesDatabasePipeBind>]
[[-ContentDb] <SPContentDatabasePipeBind>]
[[-AccessAppsOnly] <Boolean>]
[-AssignmentCollection <SPAssignmentCollection>]
[<CommonParameters>]
説明
Access Services データベースを返します。
例
例 1
Get-SPAccessServicesDatabase -Identity https://apps-eec88dc5f597c6.contoso-apps.com/sites/team/accessApp
この例では、App Web を使用して、'accessApp' という名前の Access データベースを返します。
例 2
Get-SPAccessServicesDatabase -ContentDb WSS_Content
次の使用例は、コンテンツ データベース内のサイトに関連付けられているすべての Access データベースを返WSS_Content。
パラメーター
-AccessAppsOnly
該当: SharePoint Server 2013、SharePoint Server 2016、SharePoint Server 2019
Access Apps のみを返します。
パラメーターのプロパティ
| 型: | Boolean |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | 2 |
| 必須: | False |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-AssignmentCollection
該当: SharePoint Server 2013、SharePoint Server 2016、SharePoint Server 2019
適切な破棄を行うためにオブジェクトを管理します。 SPWeb や SPSite などのオブジェクトの使用によって大量のメモリが使用される場合があるので、Windows PowerShell スクリプトでこれらのオブジェクトを使用するには適切なメモリ管理が必要です。 メモリの解放が必要になった場合は、SPAssignment オブジェクトを使用して、変数へのオブジェクトの割り当てとオブジェクトの破棄を行うことができます。 割り当てコレクションまたは Global パラメーターが使用されていない場合、SPWeb、SPSite、または SPSiteAdministration オブジェクトが使用されていると、オブジェクトは自動的に破棄されます。
Global パラメーターが使用されている場合は、オブジェクトはすべてグローバル ストアに格納されます。 Stop-SPAssignment コマンドを使用してオブジェクトの使用または破棄を直接行わないと、メモリ不足のシナリオになる場合があります。
パラメーターのプロパティ
| 型: | SPAssignmentCollection |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ContentDb
該当: SharePoint Server 2013、SharePoint Server 2016、SharePoint Server 2019
Access Apps を返すコンテンツ データベース。
パラメーターのプロパティ
| 型: | SPContentDatabasePipeBind |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | 1 |
| 必須: | False |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Identity
該当: SharePoint Server 2013、SharePoint Server 2016、SharePoint Server 2019
Access アプリの URL。 アプリ Web URL である必要があります。
パラメーターのプロパティ
| 型: | AccessServicesDatabasePipeBind |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
(All)
| 配置: | 0 |
| 必須: | False |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、「about_CommonParameters」を参照してください。
入力
Microsoft.Office.Access.Services.PowerShell.AccessServicesDatabasePipeBind
Microsoft.SharePoint.PowerShell.SPContentDatabasePipeBind System.Boolean Microsoft.SharePoint.PowerShell.SPAssignmentCollection