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 Value

Type: SecureString
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.

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

Community Additions

ADD
Show:
© 2014 Microsoft