Share via


WindowsCredential Class

Definition

Enables storage and retrieval of passwords from Windows Credential Manager, keyed by connection type and user name

public class WindowsCredential
type WindowsCredential = class
Public Class WindowsCredential
Inheritance
WindowsCredential

Constructors

WindowsCredential()

Methods

GetAzureDataStudioCredential(String, String, String, String)
GetSqlRegSvrCredential(String, Int32, String, Guid, String)

Returns the password from Windows Credential Manager for the given RegSvr. Currently only used by SqlRepl UI, not to be confused with SSMS registered servers.

GetSqlRegSvrCredential(String, Int32, String, Guid)
GetSqlSsmsCredential(String, Int32, String, Guid, String)

Returns the password from Windows Credential Manager for the given SSMS saved connection

GetSqlSsmsCredential(String, Int32, String, Guid)
RemoveRegSvrCredential(String, Int32, String, Guid, String)

Removes the password of the given registered server from Windows Credential Manager

RemoveRegSvrCredential(String, Int32, String, Guid)
RemoveSsmsCredential(String, Int32, String, Guid, String)

Removes the password of the given SSMS saved connection from Windows Credential Manager

RemoveSsmsCredential(String, Int32, String, Guid)
SetAzureDataStudioCredential(String, String, String, String, SecureString)
SetSqlRegSvrCredential(String, Int32, String, Guid, SecureString, String)

Stores the password for the given RegSvr connection in Windows Credential Manager. Currently only used by SqlRepl UI, not to be confused with SSMS registered servers.

SetSqlRegSvrCredential(String, Int32, String, Guid, SecureString)
SetSqlSsmsCredential(String, Int32, String, Guid, SecureString, String)

Stores the password for the given SSMS saved connection in Windows Credential Manager

SetSqlSsmsCredential(String, Int32, String, Guid, SecureString)

Applies to