DsPkiContainerGetEntryPropertyT Method
Gets a property from an Active Directory object.
Namespace: SysadminsLV.PKI.Management.ActiveDirectoryAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
protected T[] GetEntryProperty<T>(
DirectoryEntry entry,
string prop
)
where T : class
Protected Function GetEntryProperty(Of T As Class) (
entry As DirectoryEntry,
prop As String
) As T()
protected:
generic<typename T>
where T : ref class
array<T>^ GetEntryProperty(
DirectoryEntry^ entry,
String^ prop
)
member GetEntryProperty :
entry : DirectoryEntry *
prop : string -> 'T[] when 'T : not struct
- entry DirectoryEntry
-
A directory entry object. If this parameter is null, a BaseEntry object is used.
- prop String
- Specifies the property name to query.
- T
- Specifies the expected output type.
T
A collection of values of type speficies in the type parameter.
If actual property value doesn't match requested type (specified in the type parameter), the
value is ignored and empty array is returned.