Share via


ConnectionSecurityContext.SqlStandardPassword Property

Gets or sets the password for the login required for SQL Server Authentication.

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

Syntax

'Declaration
Public Property SqlStandardPassword As String 
    Get 
    Set
'Usage
Dim instance As ConnectionSecurityContext 
Dim value As String 

value = instance.SqlStandardPassword

instance.SqlStandardPassword = value
public string SqlStandardPassword { get; set; }
public:
virtual property String^ SqlStandardPassword {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract SqlStandardPassword : string with get, set 
override SqlStandardPassword : string with get, set
final function get SqlStandardPassword () : String 
final function set SqlStandardPassword (value : String)

Property Value

Type: System.String
A String value that specifies the password for the login required for SQL Server Authentication.

Implements

IConnectionSecurityContext.SqlStandardPassword

Remarks

When possible, use Windows Authentication.

This namespace, class, or member is supported only in the .NET Framework 2.0.

See Also

Reference

ConnectionSecurityContext Class

Microsoft.SqlServer.Replication Namespace