Share via


ConnectionCredential Class

Definition

Contains credentials for a connection.

public ref class ConnectionCredential sealed
public sealed class ConnectionCredential
type ConnectionCredential = class
Public NotInheritable Class ConnectionCredential
Inheritance
ConnectionCredential

Constructors

ConnectionCredential(String, String, Boolean)
ConnectionCredential(String, String)

Initializes a new instance of the ConnectionCredential class.

Fields

CurrentUserAccount

Represents a ConnectionCredential object that is created with the current system account.

Properties

Domain

Gets the domain of the connection credentials.

Password

Gets the password for the connection credentials.

UseBasicAuthentication
UserName

Gets the user name for the connection credentials.

UseSystemAccount

Gets a value indicating whether the system account should be used.

Methods

Equals(Object)

Determines whether the specified object is equal to the current ConnectionCredential object.

GetHashCode()

Returns the hash code of the connection credentials.

Applies to