Поделиться через


Свойство SecurePassword

Gets or sets the password used with SQL Server standard authentication to establish a connection to the registered server.

Пространство имен:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Property SecurePassword As SecureString
    Get
    Set
'Применение
Dim instance As RegisteredServer
Dim value As SecureString

value = instance.SecurePassword

instance.SecurePassword = value
public SecureString SecurePassword { get; set; }
public:
property SecureString^ SecurePassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
member SecurePassword : SecureString with get, set
function get SecurePassword () : SecureString
function set SecurePassword (value : SecureString)

Значение свойства

Тип: System.Security. . :: . .SecureString
A SecureString value that specifies the secure string password that is used to connect by using SQL Server standard authentication.