Delen via


IHostableComponent.Host Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the host for IHostableComponent.

Namespace:  Microsoft.AnalysisServices.Hosting
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Property Host As IServiceProvider 
    Get 
    Set
'Usage
Dim instance As IHostableComponent 
Dim value As IServiceProvider 

value = instance.Host

instance.Host = value
IServiceProvider Host { get; set; }
property IServiceProvider^ Host {
    IServiceProvider^ get ();
    void set (IServiceProvider^ value);
}
abstract Host : IServiceProvider with get, set
function get Host () : IServiceProvider 
function set Host (value : IServiceProvider)

Property Value

Type: System.IServiceProvider
The host for IHostableComponent.

See Also

Reference

IHostableComponent Interface

Microsoft.AnalysisServices.Hosting Namespace