Поделиться через


ISmsClient2::SetDnsSuffix Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ISmsClient2::SetDnsSuffix method, in Configuration Manager, sets the Domain Name System (DNS) suffix for clients that locate their management points by using DNS publishing.

[IDL]
HRESULT SetDnsSuffix(
      BSTR sDnsSuffix
);

Parameters

  • sDnsSuffix
    Data type: BSTR

    Qualifiers: [in]

    The DNS suffix for the domain.

Return Value

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This method sets the registry key HKLM\Software\Microsoft\CCM\LocationServices\DnsSuffix. This registry key is used to locate the default management point for a given site code through DNS.

Requirements

smsclient.dll

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

ISmsClient2 Client COM Automation Interface
Configuration Manager Client Configuration