ISharePointProjectService.ServiceProvider Property
Gets the global service provider for the SharePoint project package.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
ReadOnly Property ServiceProvider As IServiceProvider
IServiceProvider ServiceProvider { get; }
Property Value
Type: IServiceProvider
An object representing a global service provider.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.