다음을 통해 공유


IVsStrongNameKeys.ChangePassword Method

Changes the password of an existing file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function ChangePassword ( _
    szPfxFile As String, _
    szOldPassword As String, _
    szNewPassword As String _
) As Integer
int ChangePassword(
    string szPfxFile,
    string szOldPassword,
    string szNewPassword
)
int ChangePassword(
    [InAttribute] String^ szPfxFile, 
    [InAttribute] String^ szOldPassword, 
    [InAttribute] String^ szNewPassword
)
abstract ChangePassword : 
        szPfxFile:string * 
        szOldPassword:string * 
        szNewPassword:string -> int
function ChangePassword(
    szPfxFile : String, 
    szOldPassword : String, 
    szNewPassword : String
) : int

Parameters

  • szPfxFile
    Type: String

    [in] The name of the file whose password is to be changed.

  • szOldPassword
    Type: String

    [in] The old password.

  • szNewPassword
    Type: String

    [in] The new password.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsStrongNameKeys Interface

Microsoft.VisualStudio.Shell.Interop Namespace