Share via


IProcessSecurityContext.Password Property

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

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

Syntax

'Declaration
Property Password As String
string Password { get; set; }
property String^ Password {
    String^ get ();
    void set (String^ value);
}
/** @property */
String get_Password ()

/** @property */
void set_Password (String value)
function get Password () : String

function set Password (value : String)

Property Value

An empty string.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

IProcessSecurityContext Interface
IProcessSecurityContext Members
Microsoft.SqlServer.Replication Namespace