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


Свойство Password

Gets or sets the password for the Microsoft Windows security account specified in the Login property.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Property Password As String
    Get
    Set
'Применение
Dim instance As IProcessSecurityContext
Dim value As String

value = instance.Password

instance.Password = value
string Password { get; set; }
property String^ Password {
    String^ get ();
    void set (String^ value);
}
abstract Password : string with get, set
function get Password () : String
function set Password (value : String)

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

Тип System. . :: . .String
An empty string.

Замечания

You should use the SecurePassword property to set the Subscriber password. SecurePassword provides better security for the password while it exists in memory.

This property is only used when setting passwords. The actual password is never returned.