Delen via


PasswordAlterPrincipalOption.OldPassword Property

Gets or sets the old password, to which a new password would be assigned.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property OldPassword As Literal 
    Get 
    Set
'Usage
Dim instance As PasswordAlterPrincipalOption 
Dim value As Literal 

value = instance.OldPassword

instance.OldPassword = value
public Literal OldPassword { get; set; }
public:
property Literal^ OldPassword {
    Literal^ get ();
    void set (Literal^ value);
}
member OldPassword : Literal with get, set
function get OldPassword () : Literal 
function set OldPassword (value : Literal)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.Literal
The old password.

See Also

Reference

PasswordAlterPrincipalOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace