Compartir a través de


IProcessSecurityContext.SecurePassword Property

Gets or sets the password (as a SecureString object) for the Microsoft Windows security account specified in the Login property.

Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintaxis

'Declaración
Property SecurePassword As SecureString
SecureString SecurePassword { get; set; }
property SecureString^ SecurePassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
/** @property */
SecureString get_SecurePassword ()

/** @property */
void set_SecurePassword (SecureString value)
function get SecurePassword () : SecureString

function set SecurePassword (value : SecureString)

Valor de propiedad

A SecureString object that is an empty string.

Notas

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

You should use SecurePassword instead of Password to provide better security for the password while it exists in memory.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IProcessSecurityContext Interface
IProcessSecurityContext Members
Microsoft.SqlServer.Replication Namespace