This document is archived and information here might be outdated.  Recommended version.


ISecureLayer2.ClearPassword Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > ISecureLayer2 Interface > ISecureLayer2.ClearPassword Method
ArcGIS Developer Help

ISecureLayer2.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 bool

Product Availability

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

See Also

ISecureLayer2 Interface