Partilhar via


Propriedade SqlStandardPassword

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

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

Sintaxe

'Declaração
Public Property SqlStandardPassword As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Implementa

IConnectionSecurityContext. . :: . .SqlStandardPassword

Comentários

Quando possível, use a Autenticação do Windows.

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