IMAExtensible2Password.ClosePasswordConnection Method

Ends a connection to the server. It is called after processing is completed with the server to release resources.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As IMAExtensible2Password

instance.ClosePasswordConnection

Syntax

'Declaration
Sub ClosePasswordConnection
void ClosePasswordConnection ()
void ClosePasswordConnection ()
void ClosePasswordConnection ()
function ClosePasswordConnection ()

Remarks

Exceptions: Return values, Errors, and Exceptions

The following is an example of ClosePasswordConnection:

 public void ClosePasswordConnection()
        {
            if (null != m_xmlWriterExport)
            {
                m_xmlWriterExport.WriteEndElement();
 
                m_xmlWriterExport.Close();
            }
        }

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Change History

See Also

Reference

IMAExtensible2Password Interface
IMAExtensible2Password Members
Microsoft.MetadirectoryServices Namespace