共用方式為


ImpersonationInfo.ImpersonationMode 屬性

Gets or sets the access mode the service uses to connect to the data source.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property ImpersonationMode As ImpersonationMode 
    Get 
    Set
'用途
Dim instance As ImpersonationInfo 
Dim value As ImpersonationMode 

value = instance.ImpersonationMode

instance.ImpersonationMode = value
public ImpersonationMode ImpersonationMode { get; set; }
public:
property ImpersonationMode ImpersonationMode {
    ImpersonationMode get ();
    void set (ImpersonationMode value);
}
member ImpersonationMode : ImpersonationMode with get, set
function get ImpersonationMode () : ImpersonationMode 
function set ImpersonationMode (value : ImpersonationMode)

屬性值

型別:Microsoft.AnalysisServices.ImpersonationMode
An ImpersonationMode value with the access mode the service uses to connect to the data source.

請參閱

參考

ImpersonationInfo 類別

Microsoft.AnalysisServices 命名空間