SPAdministrationLink-Klasse

SPAdministrationLink stellt die Verwaltungsseite für eine bestimmte Dienstanwendung, die der Benutzer anzeigt, wenn sie auf diese Anwendung Verwalten auf klicken.

Vererbungshierarchie

System.Object
  Microsoft.SharePoint.Administration.SPAdministrationLink

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPAdministrationLink
'Usage
Dim instance As SPAdministrationLink
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPAdministrationLink

Hinweise

Sie können ManageLink , um ein SPAdministrationLink -Objekt zurückzugeben, die von einem Administrator in einem Browser Toolparts überschreiben, gehen an die Verwaltungsseite für eine Dienstanwendung.

/// 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());}
        }
''' 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 Overrides ReadOnly Property ManageLink() As SPAdministrationLink
    Get
        Return New SPAdministrationLink("/_admin/ManageSample?id=" & Me.Id.ToString())
    End Get
End Property

''' <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 Overrides ReadOnly Property PropertiesLink() As SPAdministrationLink
    Get
        Return New SPAdministrationLink("/_admin/EditSample?id=" & Me.Id.ToString())
    End Get
End Property

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Die Threadsicherheit von Instanzmembern ist nicht gewährleistet.

Siehe auch

Referenz

SPAdministrationLink-Member

Microsoft.SharePoint.Administration-Namespace