ModelComponent.IHostableComponent.Host Property

Gets or sets the IServiceProvider that is the host of the ModelComponent.

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

Syntax

'Declaration
Private Property Host As IServiceProvider Implements IHostableComponent.Host 
    Get 
    Set
'Usage
Dim instance As ModelComponent 
Dim value As IServiceProvider 

value = CType(instance, IHostableComponent).Host 

CType(instance, IHostableComponent).Host = value
IServiceProvider IHostableComponent.Host { get; set; }
private:
virtual property IServiceProvider^ Host {
    IServiceProvider^ get () sealed = IHostableComponent::Host::get;
    void set (IServiceProvider^ value) sealed = IHostableComponent::Host::set;
}
private abstract Host : IServiceProvider with get, set 
private override Host : IServiceProvider with get, set
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.IServiceProvider
The IServiceProvider that is the host of the ModelComponent.

Implements

IHostableComponent.Host

See Also

Reference

ModelComponent Class

Microsoft.AnalysisServices Namespace