Get-SPAccessServicesDatabaseServerGroup

データベース サーバー グループを返します。

構文

Get-SPAccessServicesDatabaseServerGroup
   [-ServiceContext] <SPServiceContextPipeBind>
   [[-DatabaseServerGroup] <AccessServicesDatabaseServerGroupPipeBind>]
   [-AssignmentCollection <SPAssignmentCollection>]
   [<CommonParameters>]

説明

指定されたサービス コンテキストに関連付けられているデータベース サーバー グループを返します。

例 1

Get-SPAccessServicesDatabaseServerGroup -ServiceContext http://siteUrl

サイトに関連付けられているデータベース サーバー グループを返します。 http://siteUrl.

パラメーター

-AssignmentCollection

適切な破棄を行うためにオブジェクトを管理します。 SPWeb や SPSite などのオブジェクトの使用によって大量のメモリが使用される場合があるので、Windows PowerShell スクリプトでこれらのオブジェクトを使用するには適切なメモリ管理が必要です。 メモリの解放が必要になった場合は、SPAssignment オブジェクトを使用して、変数へのオブジェクトの割り当てとオブジェクトの破棄を行うことができます。 割り当てコレクションまたは Global パラメーターが使用されていない場合、SPWeb、SPSite、または SPSiteAdministration オブジェクトが使用されていると、オブジェクトは自動的に破棄されます。

Global パラメーターが使用されている場合は、オブジェクトはすべてグローバル ストアに格納されます。 Stop-SPAssignment コマンドを使用してオブジェクトの使用または破棄を直接行わないと、メモリ不足のシナリオになる場合があります。

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-DatabaseServerGroup

データベース サーバー グループの名前。

Type:AccessServicesDatabaseServerGroupPipeBind
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

-ServiceContext

Access Services データベース サーバー情報を取得するサービス コンテキストを指定します。

Type:SPServiceContextPipeBind
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server 2013, SharePoint Server 2016, SharePoint Server 2019

入力

Microsoft.SharePoint.PowerShell.SPServiceContextPipeBind

Microsoft。Office.Access.Services.PowerShell.AccessServicesDatabaseServerGroupPipeBind Microsoft。SharePoint.PowerShell.SPAssignmentCollection

出力

System.Object