ModelComponent.IHostableComponent.Host 属性
Gets or sets the IServiceProvider that is the host of the ModelComponent.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Private Property Host As IServiceProvider Implements IHostableComponent.Host
Get
Set
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。
属性值
类型:System.IServiceProvider
The IServiceProvider that is the host of the ModelComponent.