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
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextRepresents the client runtime context for server objects and operations.
pluginName
Type: System.StringThe 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.