Forest.RaiseForestFunctionality(ForestMode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为林提升操作模式。
public:
void RaiseForestFunctionality(System::DirectoryServices::ActiveDirectory::ForestMode forestMode);
public void RaiseForestFunctionality (System.DirectoryServices.ActiveDirectory.ForestMode forestMode);
member this.RaiseForestFunctionality : System.DirectoryServices.ActiveDirectory.ForestMode -> unit
Public Sub RaiseForestFunctionality (forestMode As ForestMode)
参数
- forestMode
- ForestMode
一个 ForestMode 枚举值,用于为目录林指定新的操作级别。
例外
调用基础目录服务导致错误。
目标服务器忙或不可用。
根据该目录林的当前操作模式,为 forestMode
指定的值无效。
forestMode
不是有效的 ForestMode 枚举值。
已释放此对象。
指定的帐户没有权限执行此操作。
注解
ForestMode可以提高值,但不能降低该值。 这意味着提高林的功能级别是不可逆的,应谨慎决定执行此操作。
有关林操作模式的详细信息,请参阅 域和林功能。
下表根据林的当前操作模式定义了 的有效 forestMode
值。
当前模式 | 可以将模式提升为 |
---|---|
Windows2000Forest | Windows2003InterimForest Windows2003Forest |
Windows2003InterimForest | Windows2003Forest |
Windows2003Forest | 无 |
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈