code: def create_dhcp_server(self, name):
          
          if not isinstance(name, basestring):
              raise TypeError("name can only be an instance of type basestring")
          server = self._call("createDHCPServer",
                       in_p=[name])
          server = IDHCPServer(server)
          return server
docs: Creates a DHCP server settings to be used for the given internal network name
  
          in name of type str
              server name
  
          return server of type :class:`IDHCPServer`
              DHCP server settings
  
          raises :class:`OleErrorInvalidarg`
              Host network interface @a name already exists.