Export (0) Print
Expand All

IProcessSecurityContext.SecurePassword Property


Applies To: SQL Server 2016 Preview

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: System.Security.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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft