Partager via


ConnectorCollection.DeprovisionAll Method

Changes all connector CSEntry objects in the specified management agent to disconnector CSEntry objects.

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

Usage

'Usage
Dim instance As ConnectorCollection

instance.DeprovisionAll

Syntax

'Declaration
Public MustOverride Sub DeprovisionAll
public abstract void DeprovisionAll ()
public:
virtual void DeprovisionAll () abstract
public abstract void DeprovisionAll ()
public abstract function DeprovisionAll ()

Example

The following examples show how to change all connector CSEntry objects in the Fabrikam AD MA management agent to disconnector CSEntry objects.

mventry.ConnectedMAs["Fabrikam AD MA"].Connectors.DeprovisionAll()
mventry.ConnectedMAs("Fabrikam AD MA").Connectors.DeprovisionAll()

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

ConnectorCollection Class
ConnectorCollection Members
Microsoft.MetadirectoryServices Namespace
CSEntry
ConnectorCollection Class