The GetField method gets a specific field from the current record of the configuration database.
[VB] BSTR GetField(
BSTR strFieldName
);
[JAVA] java.lang.String GetField(
BSTR strFieldName
);
[C++] HRESULT GetField(
BSTR const strFieldName, // in
BSTR *strOut // out, return value
);
| Field Name | Description |
|---|---|
| CommonName | Common name of the server |
| OrgUnit | Organizational unit |
| Organization | Organization |
| Locality | City or town |
| State | State or province |
| Country | Country |
| Config | Reference machine/server name |
| ExchangeCertificate | Certificate to send encrypted content |
| SignatureCertificate | Root signing certificate |
| Comment | Descriptive comment about the server |
Returns the field data for the specified field.
Windows NT: Requires version 5.0 or later (or version 4.0 with the Windows NT 4.0 Option Pack).
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in certcli.h.
Import Library: Use certidl.lib.