状态服务和会话状态 cmdlet (SharePoint Server 2010)

 

适用于: SharePoint Foundation 2010, SharePoint Server 2010

上一次修改主题: 2016-11-30

有一些 Windows PowerShell cmdlet 可用于支持会话状态和状态服务。

可以使用以下 cmdlet。

Cmdlet 名称

Disable-SPSessionStateService

Dismount-SPStateServiceDatabase

Enable-SPSessionStateService

Get-SPSessionStateService

Get-SPStateServiceApplication

Get-SPStateServiceApplicationProxy

Get-SPStateServiceDatabase

Initialize-SPStateServiceDatabase

Mount-SPStateServiceDatabase

New-SPStateServiceApplication

New-SPStateServiceApplicationProxy

New-SPStateServiceDatabase

Remove-SPStateServiceDatabase

Resume-SPStateServiceDatabase

Set-SPSessionStateService

Set-SPStateServiceApplication

Set-SPStateServiceApplicationProxy

Set-SPStateServiceDatabase

Suspend-SPStateServiceDatabase

若要下载 StateServiceCmdlets.chm 文件,请参阅用于 SharePoint Server 2010 的 Windows PowerShell 已编译帮助(该链接可能指向英文页面) (https://go.microsoft.com/fwlink/?linkid=179124&clcid=0x804)(该链接可能指向英文页面)。