ImpersonationInfo Members

Include Protected Members
Include Inherited Members

Defines the type of credentials used to establish a connection to the server.

The ImpersonationInfo type exposes the following members.

Constructors

  Name Description
Public method ImpersonationInfo() Initializes a new instance of ImpersonationInfo using default values.
Public method ImpersonationInfo(ImpersonationMode) Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.
Public method ImpersonationInfo(String, String) Initializes a new instance of ImpersonationInfo for the specified user account and password.
Public method ImpersonationInfo(ImpersonationMode, String, String) Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.

Top

Methods

  Name Description
Public method Clone() Returns a full copy of current ImpersonationInfo object.
Public method CopyTo(ImpersonationInfo) Returns a full copy of current ImpersonationInfo into specified object.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() Returns a System.String representation of current object. (Overrides Object.ToString().)

Top

Properties

  Name Description
Public property Account Gets or sets the user account.
Public property ImpersonationInfoSecurity Gets or sets the password availability from data source.
Public property ImpersonationMode Gets or sets the access mode the service uses to connect to the data source.
Public property Password Gets or sets the password.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone()

Top