ArcObjects Library Reference (GeoDatabase)  

IEnterpriseWorkspaceFactory.OpenWithNewPassword Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IEnterpriseWorkspaceFactory Interface