SPAdministrationLink Class
SharePoint 2010
SPAdministrationLink represents the administration page for a specific service application that the user views when they click manage on that application.
Namespace:
Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
You can override ManageLink to return an SPAdministrationLink object that, when clicked by an administrator in a browser, will go to the management page for a service application.
/// Target location admin is sent to from within Central Administration when clicking on Service App or /// selecting it and picking Manage in the ribbon from Central Administration > Manage Service Apps page. /// </summary> public override SPAdministrationLink ManageLink { get{return new SPAdministrationLink("/_admin/ManageSample?id=" + this.Id.ToString());} } /// <summary> /// Target location admin is sent to from within Central Administration when selecting the service all /// and picking Properties in the ribbon from Central Administration > Manage Service Apps page. /// </summary> public override SPAdministrationLink PropertiesLink { get{return new SPAdministrationLink("/_admin/EditSample?id=" + this.Id.ToString());} }