DirectoryEntry.InvokeSet(String, Object[]) DirectoryEntry.InvokeSet(String, Object[]) DirectoryEntry.InvokeSet(String, Object[]) DirectoryEntry.InvokeSet(String, Object[]) Method

定義

在原生 Active Directory 網域服務物件上設定屬性。Sets a property on the native Active Directory Domain Services object.

public:
 void InvokeSet(System::String ^ propertyName, ... cli::array <System::Object ^> ^ args);
[System.Runtime.InteropServices.ComVisible(false)]
public void InvokeSet (string propertyName, params object[] args);
member this.InvokeSet : string * obj[] -> unit
Public Sub InvokeSet (propertyName As String, ParamArray args As Object())

參數

propertyName
String String String String

所要設定的屬性名稱。The name of the property to set.

args
Object[]

要設定的 Active Directory 網域服務物件。The Active Directory Domain Services object to set.

備註

不應該使用這個方法。This method should not be used. 屬性應該用來存取DirectoryEntry物件的屬性。 PropertiesThe Properties property should be used to access the properties of the DirectoryEntry object.

安全性

DirectoryServicesPermission
設定原生物件的屬性。To set the property on the native object.

適用於

另請參閱