Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: desktop apps only
The PrimaryDNSSuffix property gets the primary DNS suffix of the computer.
This property is read-only.
Syntax
HRESULT get_PrimaryDNSSuffix(
  BSTR *pbstrPrimaryDNSSuffix
);
' Data type: String
Property PrimaryDNSSuffix( _
  ByVal pbstrPrimaryDNSSuffix As BSTR _
) As String
Property value
String that specifies the primary DNS suffix of the computer.
Error codes
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Remarks
This property is read-only.
Requirements
Minimum supported client  | 
Windows Vista | 
Minimum supported server  | 
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) | 
Version  | 
Forefront Threat Management Gateway (TMG) 2010 | 
IDL  | 
Msfpccom.idl | 
DLL  | 
Msfpccom.dll | 
See also
Build date: 7/12/2010