This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnterpriseWorkspaceFactory Interface > IEnterpriseWorkspaceFactory.OpenWithNewPassword Method (ArcObjects .NET 10.5 SDK) |
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,
long hWnd,
BSTR newPassword,
IWorkspace** Workspace
);
[C++]
Parameters ConnectionProperties [in]
ConnectionProperties is a parameter of type IPropertySet hWnd [in] hWnd is a parameter of type long newPassword [in] newPassword is a parameter of type BSTR Workspace [out, retval]
Workspace is a parameter of type IWorkspace