Bewerken

Share via


GlobalCatalog.EnableGlobalCatalog Method

Definition

Not supported for the GlobalCatalog class because this domain controller is already a global catalog server.

public:
 override System::DirectoryServices::ActiveDirectory::GlobalCatalog ^ EnableGlobalCatalog();
public override System.DirectoryServices.ActiveDirectory.GlobalCatalog EnableGlobalCatalog ();
override this.EnableGlobalCatalog : unit -> System.DirectoryServices.ActiveDirectory.GlobalCatalog
Public Overrides Function EnableGlobalCatalog () As GlobalCatalog

Returns

Not applicable. This method will always throw an InvalidOperationException exception.

Exceptions

The domain controller is already a global catalog server.

The current object has been disposed.

Applies to