DirectoryEntry.InvokeGet(String) DirectoryEntry.InvokeGet(String) DirectoryEntry.InvokeGet(String) DirectoryEntry.InvokeGet(String) Method

定義

從原生 Active Directory 網域服務物件取得屬性。Gets a property from the native Active Directory Domain Services object.

public:
 System::Object ^ InvokeGet(System::String ^ propertyName);
[System.Runtime.InteropServices.ComVisible(false)]
public object InvokeGet (string propertyName);
member this.InvokeGet : string -> obj
Public Function InvokeGet (propertyName As String) As Object

參數

propertyName
String String String String

要取得的屬性名稱。The name of the property to get.

傳回

表示所要求之屬性的物件。An object that represents the requested property.

備註

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

安全性

DirectoryServicesPermission
從原生物件取得屬性。To get the property from the native object.

適用於

另請參閱