GlobalCatalog.EnableGlobalCatalog 方法
定义
不支持 GlobalCatalog 类,因为此域控制器已经是全局目录服务器。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
返回
不适用。Not applicable. 此方法将始终引发 InvalidOperationException 异常。This method will always throw an InvalidOperationException exception.
例外
此域控制器已经是全局目录服务器。The domain controller is already a global catalog server.
当前对象已被释放。The current object has been disposed.