dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / ChangePassword Method
The connection string that specifies the user to change the password for. Must contain the user ID and the current password.
The new password.

In This Topic
    ChangePassword Method
    In This Topic
    Changes the password for the user specified in the connection string.
    Syntax
    'Declaration
     
    Public Shared Sub ChangePassword( _
       ByVal connectionString As String, _
       ByVal newPassword As String _
    ) 
    public static void ChangePassword( 
       string connectionString,
       string newPassword
    )

    Parameters

    connectionString
    The connection string that specifies the user to change the password for. Must contain the user ID and the current password.
    newPassword
    The new password.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also