Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: System.String[in] The name of the file whose password is to be changed.
szOldPassword
Type: System.String[in] The old password.
szNewPassword
Type: System.String[in] The new password.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.