IHostableComponent.Host 屬性
命名空間: 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 支援明確介面實作的使用,但不支援新介面實作的宣告。