Export (0) Print
Expand All

IProcessSecurityContext.SecurePassword Property

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

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

SecureString SecurePassword { get; set; }
/** @property */
SecureString get_SecurePassword ()

/** @property */
void set_SecurePassword (SecureString value)

function get SecurePassword () : SecureString

function set SecurePassword (value : SecureString)

Property Value

A SecureString object that is an empty string.

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.

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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft