DirectoryEntry.MoveTo 메서드

정의

DirectoryEntry을 이동합니다.

오버로드

Name Description
MoveTo(DirectoryEntry)

DirectoryEntry 개체를 지정된 부모로 이동합니다.

MoveTo(DirectoryEntry, String)

DirectoryEntry 개체를 지정된 부모로 이동하고 해당 이름을 지정된 값으로 변경합니다.

MoveTo(DirectoryEntry)

Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs

DirectoryEntry 개체를 지정된 부모로 이동합니다.

public:
 void MoveTo(System::DirectoryServices::DirectoryEntry ^ newParent);
public void MoveTo(System.DirectoryServices.DirectoryEntry newParent);
member this.MoveTo : System.DirectoryServices.DirectoryEntry -> unit
Public Sub MoveTo (newParent As DirectoryEntry)

매개 변수

newParent
DirectoryEntry

이 항목을 이동할 부모입니다.

예외

지정된 DirectoryEntry 컨테이너가 아닙니다.

설명

UsePropertyCache경우 true 새 개체의 CommitChanges 메서드를 호출하여 이동을 영구적으로 만듭니다.

추가 정보

적용 대상

MoveTo(DirectoryEntry, String)

Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs
Source:
DirectoryEntry.cs

DirectoryEntry 개체를 지정된 부모로 이동하고 해당 이름을 지정된 값으로 변경합니다.

public:
 void MoveTo(System::DirectoryServices::DirectoryEntry ^ newParent, System::String ^ newName);
public void MoveTo(System.DirectoryServices.DirectoryEntry newParent, string? newName);
public void MoveTo(System.DirectoryServices.DirectoryEntry newParent, string newName);
member this.MoveTo : System.DirectoryServices.DirectoryEntry * string -> unit
Public Sub MoveTo (newParent As DirectoryEntry, newName As String)

매개 변수

newParent
DirectoryEntry

이 항목을 이동할 부모입니다.

newName
String

이 항목의 새 이름입니다.

예외

지정된 DirectoryEntry 컨테이너가 아닙니다.

설명

UsePropertyCache경우 true 새 개체를 호출 CommitChanges 하여 이동을 영구적으로 만듭니다.

추가 정보

적용 대상