共用方式為


ImpersonationMode 列舉

Defines the access mode to the data source that the service uses when it processes its objects, synchronizes the server, and for the Data Mining statement OPENQUERY (DMX).

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

語法

'宣告
Public Enumeration ImpersonationMode
'用途
Dim instance As ImpersonationMode
public enum ImpersonationMode
public enum class ImpersonationMode
type ImpersonationMode
public enum ImpersonationMode

成員

成員名稱 說明
Default Uses the inherited value from the ImpersonationMode on the DataSourceImpersonationInfo object in the database.

[!附註]

The default ImpersonationMode is ImpersonateCurrentUser for DM OPENQUERY (DMX) and out of line data sources, and the default for processing and server synchronizing is ImpersonateServiceAccount.

ImpersonateAccount This option is used when the service uses the account and (optionally) a password associated with the data source.

[!附註]

The absence of a password indicates that the service account will request a Kerberos ticket for the data source service and the domain will check to see if service account can delegate credentials to the data source.

ImpersonateAnonymous Currently not supported.
ImpersonateCurrentUser The current user is impersonated.

[!附註]

This is valid for OPENQUERY (DMX) statements only

ImpersonateServiceAccount The credentials of the service account are used.

[!附註]

Only Server Administrators can designate a data source impersonation mode as ImpersonateServiceAccount

備註

新增:   2006 年 7 月 17 日

Each data source object has an ImpersonationMode which states how the service authenticates itself to the data source.

請參閱

參考

Microsoft.AnalysisServices 命名空間