Forest.RaiseForestFunctionality(ForestMode) メソッド

定義

フォレストの操作モードを生成します。

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 なし

適用対象

こちらもご覧ください