ArcObjects Library Reference (Carto)  

ISecureLayer.ClearPassword Method

Removes the passwords from the layer used to access data, and forces a reconnection to the data.

[Visual Basic .NET]
Public Sub ClearPassword ( _
    ByVal bForceReconnect As Boolean _
)
[C#]
public void ClearPassword (
    bool bForceReconnect
);
[C++]
HRESULT ClearPassword(
  VARIANT_BOOL bForceReconnect
);
[C++]

Parameters

bForceReconnect   bForceReconnect is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ISecureLayer Interface