Retrieves all DNS options assigned for the object specified excluding the options inherited from the higher-level parent object.
Output / Response
Returns an instance of the type APIDeploymentOption that represents the DNS deployment option or empty if none were found.
Note: Depending on the type of deployment option
being returned, the format of the value might differ. For more information, refer to
Reference: Deployment Option value formats.
API Call:
APIDeploymentOption getDNSDeploymentOption( long
entityId, String name, long
serverId )
Parameter | Description |
---|---|
entityId | The object ID for the entity to which this deployment option is assigned. |
name | The name of the DNS option. This name must be one of the constants listed in DNS Options. |
serverId | Specifies the server or server group to which this option is assigned. To retrieve an option that has not been assigned to a server role, set this value to 0(zero). Omitting this parameter from the method call will result in an error. |