Partager via


Propriété SqlStandardPassword

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property SqlStandardPassword As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

IConnectionSecurityContext. . :: . .SqlStandardPassword

Notes

Lorsque c'est possible, utilisez l'authentification Windows.

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