Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

GetField

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
);
 

Parameters

[VB][JAVA][C++] strFieldName
String specifying the name of the field to return. The currently valid strings for field names are listed here.
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


[C++] strOut
Points to the return value. See Return Values.

Return Values

Returns the field data for the specified field.


Share this article: