This document is archived and information here might be outdated. Recommended version. |
Opens the workspace specified by the connection properties. Changes the connection password if it's expiring or expired.
[Visual Basic .NET] Public Function OpenWithNewPassword ( _ ByVal ConnectionProperties As IPropertySet, _ ByVal hWnd As Integer, _ ByVal newPassword As String _ ) As IWorkspace
[C#] public IWorkspace OpenWithNewPassword ( IPropertySet ConnectionProperties, int hWnd, string newPassword );
[C++]
HRESULT OpenWithNewPassword(
IPropertySet* ConnectionProperties,
OLE_HANDLE hWnd,
BSTR newPassword
);
[C++]
Parameters ConnectionProperties [in]
ConnectionProperties is a parameter of type IPropertySet* hWnd [in]
hWnd is a parameter of type OLE_HANDLE newPassword [in]
newPassword is a parameter of type BSTR