共用方式為


SPAdministrationWebApplication.SwitchAdministrativeTasksView Method

NOTE: This API is now obsolete.

Switches the view that is used for the administration Tasks list to the specified view.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("The admin task list is obsolete.", False)> _
Public Sub SwitchAdministrativeTasksView ( _
    baseViewId As String _
)
'Usage
Dim instance As SPAdministrationWebApplication
Dim baseViewId As String

instance.SwitchAdministrativeTasksView(baseViewId)
[ObsoleteAttribute("The admin task list is obsolete.", false)]
public void SwitchAdministrativeTasksView(
    string baseViewId
)

Parameters

  • baseViewId
    Type: System.String

    A string that contains the ID of the view to apply.

See Also

Reference

SPAdministrationWebApplication Class

SPAdministrationWebApplication Members

Microsoft.SharePoint.Administration Namespace