Partager via


SqlStandardPassword propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans 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 la 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.