Share via


SiteServicesAddins.GetPlugin method

Gets the AddinPlugin and its Title property.

Namespace:  Microsoft.SharePoint.Client.Publishing
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Shared Function GetPlugin ( _
    context As ClientRuntimeContext, _
    pluginName As String _
) As AddinPlugin
'Usage
Dim context As ClientRuntimeContext
Dim pluginName As String
Dim returnValue As AddinPlugin

returnValue = SiteServicesAddins.GetPlugin(context, _
    pluginName)
public static AddinPlugin GetPlugin(
    ClientRuntimeContext context,
    string pluginName
)

Parameters

  • pluginName
    Type: System.String

    The Title property of an AddinPlugin object to retrieve.

Return value

Type: Microsoft.SharePoint.Client.Publishing.AddinPlugin
The AddinPlugin object with the specified Title if the specified AddinPlugin object exists; otherwise, a null reference (Nothing in Visual Basic).

Remarks

This method requires site designer permission level.

See also

Reference

SiteServicesAddins class

SiteServicesAddins members

Microsoft.SharePoint.Client.Publishing namespace