DataSourceSpecializer.ServiceProvider Property
Retrieves the current instance of the service provider as a IServiceProvider object.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected ReadOnly Property ServiceProvider As IServiceProvider
'Usage
Dim value As IServiceProvider
value = Me.ServiceProvider
protected IServiceProvider ServiceProvider { get; }
protected:
property IServiceProvider^ ServiceProvider {
IServiceProvider^ get ();
}
protected function get ServiceProvider () : IServiceProvider
Property Value
Type: System.IServiceProvider
The current instance of the service provider, as a IServiceProvider object.
.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.