ImpersonationInfo Class

Definition

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

public class ImpersonationInfo : ICloneable
type ImpersonationInfo = class
    interface ICloneable
Public Class ImpersonationInfo
Implements ICloneable
Inheritance
ImpersonationInfo
Implements

Constructors

ImpersonationInfo()

Initializes a new instance of ImpersonationInfo using default values.

ImpersonationInfo(ImpersonationMode)

Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.

ImpersonationInfo(ImpersonationMode, String, String)

Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.

ImpersonationInfo(String, String)

Initializes a new instance of ImpersonationInfo for the specified user account and password.

Properties

Account

Gets or sets the user account.

ImpersonationInfoSecurity

Gets or sets the password availability from data source.

ImpersonationMode

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

Password

Gets or sets the password.

Methods

Clone()

Returns a clone of the object.

CopyTo(ImpersonationInfo)

Copies the content of this object to another object (the destination).

ToString()

Returns a System.String representation of current object.

Explicit Interface Implementations

ICloneable.Clone()

Applies to