共用方式為


ImpersonationMode Element (ASSL)

Contains a value that indicates the method of impersonation for elements that are derived from the ImpersonationInfo data type.

語法

<ImpersonationInfo>
   ...
   <ImpersonationMode>...</ImpersonationMode>
      
</ImpersonationInfo>...

Element Characteristics

Characteristic Description

Data type and length

String (enumeration)

Default value

Default

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

ImpersonationInfo

Child elements

None

備註

The value of this element is limited to one of the strings in the following table.

Value Description

Default

The parent uses the impersonation method that is most appropriate for the context in which impersonation is used.

ImpersonateAccount

The parent uses the credentials of the user account that is specified in the parent element.

ImpersonateAnonymous

The parent uses the credentials of an anonymous user.

ImpersonateCurrentUser

The parent uses the credentials of the current user.

ImpersonateServiceAccount

The parent uses the credentials of the service account that is associated with the instance of Microsoft SQL Server 2005 Analysis Services (SSAS).

The enumeration that corresponds to the allowed values for ImpersonationMode in the Analysis Management Objects (AMO) object model is ImpersonationLevel.

請參閱

參考

Properties (ASSL)

說明及資訊

取得 SQL Server 2005 協助